TestLink version 1.9.16
xampp-linux-x64-5.6.33-0-installer.run
Ubuntu server 17.10
I met the some issue as:
https://stackoverflow.com/questions/451 ... -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 =
[
['Source','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['BidiLtr', 'BidiRtl' ],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
'/',
['Styles','Format','Font','FontSize'],
['TextColor','BGColor'],
['Maximize','ShowBlocks','-','About']
];
How to show Text color and BG color in ckeditor
Moderators: Amaradana, TurboPT, TL Developers
-
- TestLink user
- Posts: 3
- Joined: Thu Apr 12, 2018 5:52 pm
Re: How to show Text color and BG color in ckeditor
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)
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)
On the same page, relative to those two items, they also say: (red emphasis my edit)
Probably not what you want to hear, but now you know.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.
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)