How to show Text color and BG color in ckeditor

LATEST Official version.
Questions and discussions - NO ISSUES

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
TestLink user
Posts: 3
Joined: Thu Apr 12, 2018 5:52 pm

How to show Text color and BG color in ckeditor

Post 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' ],
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

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

Post 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)
Post Reply