MyBB Community Forums

Full Version: How to change textarea color in default dark?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: screenshot-22.png]
I'd like to change font to the defaultdark editor but it looks hard.
I edited the css in /jscripts/sceditor/themes/defaultdark.css clearing cache  but there are no changes!
In /jscripts/sceditor/styles there is no css for this editor.
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
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...  Exclamation

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 Confused
No, you get the new sceditor from Mybb. It is in the jscripts folder: https://resources.mybb.com/downloads/mybb_1821.zip
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:
<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.