2019-07-31, 10:18 AM
2019-07-31, 10:18 AM
2019-07-31, 11:10 AM
If you upgraded to latest Mybb 1.8.21, then read this: https://github.com/mybb/mybb/pull/3639#i...-480689866
Then if you want a dark editor, install this: https://community.mybb.com/mods.php?acti...w&pid=1199
Then if you want a dark editor, install this: https://community.mybb.com/mods.php?acti...w&pid=1199
2019-07-31, 11:22 AM
As the github post says I've just deleted sceditor folder to upload the new sceditor 2.1.3 downloaded.
Then reverted codebuttons template, but now there are no editor buttons...
Should I download the editor from here? https://www.sceditor.com/
Or where? From that github I see the same sceditor I had already.
I don't like this https://community.mybb.com/mods.php?acti...w&pid=1199
Then reverted codebuttons template, but now there are no editor buttons...
Should I download the editor from here? https://www.sceditor.com/
Or where? From that github I see the same sceditor I had already.
I don't like this https://community.mybb.com/mods.php?acti...w&pid=1199
2019-07-31, 11:32 AM
No, you get the new sceditor from Mybb. It is in the jscripts folder: https://resources.mybb.com/downloads/mybb_1821.zip
2019-07-31, 11:33 AM
Solved here is the solution I found. This is valid for DefaultDark editor theme.
Change codebuttons template under Ungrouped Templates.
Replace first line that contains the <link etc.
Replace that with:
In the same template search for opt_editor = {
Change style: in
Open /jscripts/sceditor/styles/jquery.sceditor.default.css
Search html, body, p, code:before, table {
Change color value with the color you want for example color: #A0A0A0;
Open /jscripts/sceditor/themes/defaultdark.css
Search .sceditor-container iframe,.sceditor-container textarea
Change color with color: #A0A0A0;
Thank you! Hope it helps.
Change codebuttons template under Ungrouped Templates.
Replace first line that contains the <link etc.
Replace that with:
<link rel="stylesheet" href="{$mybb->asset_url}/jscripts/sceditor/themes/defaultdark.css" type="text/css" media="all" />
In the same template search for opt_editor = {
Change style: in
style: "{$mybb->asset_url}/jscripts/sceditor/styles/jquery.sceditor.default.css?ver=1821",
Open /jscripts/sceditor/styles/jquery.sceditor.default.css
Search html, body, p, code:before, table {
Change color value with the color you want for example color: #A0A0A0;
Open /jscripts/sceditor/themes/defaultdark.css
Search .sceditor-container iframe,.sceditor-container textarea
Change color with color: #A0A0A0;
Thank you! Hope it helps.