Solved: 2 Years, 6 Months, 3 Weeks ago SCEditor Issues and Resolutions [1.8.21 upgrade]
#25
Solved: 2 Years, 6 Months, 3 Weeks ago
Howdy friends, I recently upgraded from 1.8.5 to 1.8.21 and I think I am experiencing the full SCeditor woes. I have tried all the suggestions in this thread and codebuttons are still broken, so no images, no URLs, no emoticons, etc. I tried to do the upgrade process over but naturally the system recognized the 1.8.21 install, so it wouldn't let me do the upgrade. I'm not super-technical, so I know just enough to get myself into this exact predicament. Here is my codebuttons template. Please be gentle.

<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/editor_themes/{$theme['editortheme']}" type="text/css" media="all" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/jquery.sceditor.bbcode.min.js?ver=1805"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/bbcodes_sceditor.js?ver=1804"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/sceditor/editor_plugins/undo.js?ver=1805"></script>
<script type="text/javascript">
var partialmode = {$mybb->settings['partialmode']},
opt_editor = {
	plugins: "bbcode,undo",
	style: "{$mybb->asset_url}/jscripts/sceditor/textarea_styles/jquery.sceditor.{$theme['editortheme']}",
	rtl: {$lang->settings['rtl']},
	locale: "mybblang",
	enablePasteFiltering: true,
	emoticonsEnabled: {$emoticons_enabled},
	emoticons: {
		// Emoticons to be included in the dropdown
		dropdown: {
			{$dropdownsmilies}
		},
		// Emoticons to be included in the more section
		more: {
			{$moresmilies}
		},
		// Emoticons that are not shown in the dropdown but will still be converted. Can be used for things like aliases
		hidden: {
			{$hiddensmilies}
		}
	},
	emoticonsCompat: true,
	toolbar: "{$basic1}{$align}{$font}{$size}{$color}{$removeformat}{$basic2}image,{$email}{$link}|video{$emoticon}|{$list}{$code}quote|maximize,source",
};
{$editor_language}
$(function() {
	$("#{$bind}").sceditor(opt_editor);

	MyBBEditor = $("#{$bind}").sceditor("instance");
	{$sourcemode}
});
</script>
Reply


Messages In This Thread
RE: SCEditor Issues and Resolutions [1.8.21 upgrade] - by toeknee - 2019-12-16, 04:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)