Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Months, 1 Week, 3 Days ago How to change textarea color in default dark?
#1
Solved: 4 Months, 1 Week, 3 Days ago
[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.
Reply
#2
Solved: 4 Months, 1 Week, 3 Days ago
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
Reply
#3
Solved: 4 Months, 1 Week, 3 Days ago
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
Reply
#4
Solved: 4 Months, 1 Week, 3 Days ago
No, you get the new sceditor from Mybb. It is in the jscripts folder: https://resources.mybb.com/downloads/mybb_1821.zip
Reply
#5
Solved: 4 Months, 1 Week, 3 Days ago
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.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)