Page 1 of 1

How to show Text color and BG color in ckeditor

PostPosted: Fri Apr 13, 2018 10:35 am
by jffeng_cloud
TestLink version 1.9.16
Ubuntu server 17.10

I met the some issue as: ... -on-testli

while I change the order for the cfg/tl_ckeditor_config.js, it did worked!!, but 'TextColor','BGColor' still can't be seen in Web Page

config.toolbar_Full =
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
['BidiLtr', 'BidiRtl' ],

Re: How to show Text color and BG color in ckeditor

PostPosted: Sat Apr 14, 2018 1:40 pm
by TurboPT
According to ckeditor's documentation, additional (optional) plugins are needed to support those two features.

On the same page, relative to those two items, they also say: (red emphasis my edit)
ckeditor website wrote: The Text and Background Color feature does not create semantically meaningful content. Even if you adjust the color list to match the style of your website, your users will be able to arbitrarily apply colors to text elements without any consistency.

A much better idea for creating semantic content and maintaining consistent styling across your website is to adjust the Styles drop-down list to include some colors that could be applied to user-created content and would still be consistent with your website design.

Probably not what you want to hear, but now you know.

I added this same information as an answer to the stackoverflow question as well, but without the red emphasis (only normal bold), as font coloring is not an option.
(stackoverflow's editing capabilities are restrictive)