Skip to content

Commit

Permalink
Fixes mybb#4078 Paste image into SCEditor gives data-uri instead of U…
Browse files Browse the repository at this point in the history
…RL for [img] BBcode

Depends on mybb/SCEditor#6
  • Loading branch information
JordanMussi committed Jun 18, 2020
1 parent 1326eea commit 480fad3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions install/resources/mybb_theme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14079,8 +14079,8 @@ if(use_xmlhttprequest == "1")
<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>
<td class="trow1">{$mybb->user['username']} <span class="smalltext">[<strong><a href="member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->change_user}</a></strong>]</span></td>
</tr>]]></template>
<template name="codebuttons" version="1823"><![CDATA[<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme['editortheme']}" type="text/css" media="all" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1822"></script>
<template name="codebuttons" version="1824"><![CDATA[<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme['editortheme']}" type="text/css" media="all" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1824"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1823"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/undo.js?ver=1821"></script>
<script type="text/javascript">
Expand All @@ -14094,6 +14094,7 @@ opt_editor = {
locale: "mybblang",
width: "100%",
enablePasteFiltering: true,
enableImagePasteFiltering: false,
autoUpdate: true,
emoticonsEnabled: {$emoticons_enabled},
emoticons: {
Expand Down

0 comments on commit 480fad3

Please sign in to comment.