Skip to content

Commit 480fad3

Browse files
committed
Fixes mybb#4078 Paste image into SCEditor gives data-uri instead of URL for [img] BBcode
Depends on mybb/SCEditor#6
1 parent 1326eea commit 480fad3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install/resources/mybb_theme.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14079,8 +14079,8 @@ if(use_xmlhttprequest == "1")
1407914079
<td class="trow1" width="20%"><strong>{$lang->username}</strong></td>
1408014080
<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>
1408114081
</tr>]]></template>
14082-
<template name="codebuttons" version="1823"><![CDATA[<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme['editortheme']}" type="text/css" media="all" />
14083-
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1822"></script>
14082+
<template name="codebuttons" version="1824"><![CDATA[<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/{$theme['editortheme']}" type="text/css" media="all" />
14083+
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1824"></script>
1408414084
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1823"></script>
1408514085
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/plugins/undo.js?ver=1821"></script>
1408614086
<script type="text/javascript">
@@ -14094,6 +14094,7 @@ opt_editor = {
1409414094
locale: "mybblang",
1409514095
width: "100%",
1409614096
enablePasteFiltering: true,
14097+
enableImagePasteFiltering: false,
1409714098
autoUpdate: true,
1409814099
emoticonsEnabled: {$emoticons_enabled},
1409914100
emoticons: {

0 commit comments

Comments
 (0)