tinymce icon indicating copy to clipboard operation
tinymce copied to clipboard

Specify initial color for backcolor button

Open thommelutten opened this issue 3 years ago • 2 comments

With TinyMce version 6.0 it is not possible to specify initial default value for backcolor button. It is set to black, and I would like to be able to specify it to another color on initialization. I've scoured the 6.0 documentation and can't find any information regarding how to specify initial value.

Specifying a color first in the color_map on tinymce.init does not work either, despite that it looks like the first color is picked.

Setting execCommand("hilitecolor"..) is not an option either, as I want the backcolor button to contain the default color to use when I click on it, and not have it enabled at per default.

thommelutten avatar Aug 15 '22 13:08 thommelutten

Was it possible in previous versions and how?

smalos avatar Aug 18 '22 19:08 smalos

I don't know. I have just recently picked it up, so I am unaware of whether it was present in prior versions. Hence why I labeled it as a feature request.

However I haven't been able to find it in documentation regarding version 5.0 or 4.0. I'm just using 6.0 so wanted to specify that version to help a bit.

thommelutten avatar Aug 18 '22 19:08 thommelutten

This issue is stale because it has been open 365 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 30 days.

tiny-stale-bot avatar May 14 '24 01:05 tiny-stale-bot

This issue was closed because it has been stalled for 30 days with no activity.

tiny-stale-bot avatar Jun 14 '24 00:06 tiny-stale-bot