Jump to the post that solved this thread.
Solved: 4 Years, 4 Weeks ago Change Color default from Font Color
#1
Solved: 4 Years, 4 Weeks ago
Hi Community MyBB.

I've been searching but I can't find the information in community support forums.
It is possible to change or customize Color default from Font Color, any guide or help?
[Image: Font-Colors.png]

Feedbacks are welcome.

Thanks in Advance

  Happy New YearBlush

Big Grin
Reply
#2
Solved: 4 Years, 4 Weeks ago
Change default font color
https://community.mybb.com/post-957657.html
Reply
#3
Solved: 4 Years, 4 Weeks ago
Hi,

for the default color when you type, you have to edit /jscripts/sceditor/styles/jquery.sceditor.office-toolbar.css file.

Find:
html, body, p, code:before, table {
	margin: 0;
	padding: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 14px;
	color: #111;
}

And change the color you want by default.

----------------------------------------------------------------

If you want to change any color of the color list when you click the button, you'll have to unminify and edit these files:

/jscripts/sceditor/jquery.sceditor.bbcode.min.js
/jscripts/sceditor/jquery.sceditor.min.js
/jscripts/sceditor/jquery.sceditor.xhtml.min.js
/jscripts/sceditor/sceditor.min.js

Look for:
colors:
                "#000000,#44B8FF,#1E92F7,#0074D9,#005DC2,#00369B,#b3d5f4|#444444,#C3FFFF,#9DF9FF,#7FDBFF,#68C4E8,#419DC1,#d9f4ff|#666666,#72FF84,#4CEA5E,#2ECC40,#17B529,#008E02,#c0f0c6|#888888,#FFFF44,#FFFA1E,#FFDC00,#E8C500,#C19E00,#fff5b3|#aaaaaa,#FFC95F,#FFA339,#FF851B,#E86E04,#C14700,#ffdbbb|#cccccc,#FF857A,#FF5F54,#FF4136,#E82A1F,#C10300,#ffc6c3|#eeeeee,#FF56FF,#FF30DC,#F012BE,#D900A7,#B20080,#fbb8ec|#ffffff,#F551FF,#CF2BE7,#B10DC9,#9A00B2,#9A00B2,#e8b6ef",

and change / remove / add the ones you want.

------------------------------------------------------------

If you want to change the default font color in posts, read the answer by ziuma.
Reply
#4
Solved: 4 Years, 4 Weeks ago
Thank You so much for yor feedbacks to @NoRules and @ziuma

(2021-01-02, 08:57 AM)NoRules Wrote: ----------------------------------------------------------------

If you want to change any color of the color list when you click the button, you'll have to unminify and edit these files:

/jscripts/sceditor/jquery.sceditor.bbcode.min.js
/jscripts/sceditor/jquery.sceditor.min.js
/jscripts/sceditor/jquery.sceditor.xhtml.min.js
/jscripts/sceditor/sceditor.min.js

Look for:
colors:
                "#000000,#44B8FF,#1E92F7,#0074D9,#005DC2,#00369B,#b3d5f4|#444444,#C3FFFF,#9DF9FF,#7FDBFF,#68C4E8,#419DC1,#d9f4ff|#666666,#72FF84,#4CEA5E,#2ECC40,#17B529,#008E02,#c0f0c6|#888888,#FFFF44,#FFFA1E,#FFDC00,#E8C500,#C19E00,#fff5b3|#aaaaaa,#FFC95F,#FFA339,#FF851B,#E86E04,#C14700,#ffdbbb|#cccccc,#FF857A,#FF5F54,#FF4136,#E82A1F,#C10300,#ffc6c3|#eeeeee,#FF56FF,#FF30DC,#F012BE,#D900A7,#B20080,#fbb8ec|#ffffff,#F551FF,#CF2BE7,#B10DC9,#9A00B2,#9A00B2,#e8b6ef",

and change / remove / add the ones you want.

------------------------------------------------------------

If you want to change the default font color in posts, read the answer by ziuma.

Thanks in advance @NoRules for your help.

Now can [b]Customize Color default
from Font Color

[Image: mybb-font-color.png]

Its very cool can customize  Blush

Muchas gracias por el Soporte  Big Grin  y comentarios  @NoRules and @ziuma

At
Reply
#5
Solved: 4 Years, 4 Weeks ago
Wow this is cool. Thanks for telling me about this, Diego.
Reply
#6
Solved: 4 Years, 4 Weeks ago
(2022-02-10, 11:09 PM)mrmacintosh Wrote: Wow this is cool. Thanks for telling me about this, Diego.

You got it! mrmacintosh.  

the best way its performance the Color default.

Bienvenido a la Comunidad MyBB Cool
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 4 Guest(s)