merefield
(Robert)
14.Февраль.2022 10:27:57
1
“BBCode-lite” without the need to install a plugin …
Adds a simple control (palette icon) to the Composer to facilitate colouring of the foreground and background of text
Select a word or text
Hit the palette control
It will be wrapped like so: [wrap=color color=# bgcolor=#]word[/wrap]
Replace the #s with html-compatible colour names, e.g. “red”, “grey” … experiment.
NB Same caveats apply as to BBCode: can be used to hide text.
Credits
18 лайков
Thanks a ton for this useful little component.
It doesn’t seem to be applying the composer.color_ui_button_title properly, both when left at the default or when customized:
1 лайк
kainos
09.Февраль.2024 11:31:49
3
Hello there. I don t have color text button like on this foto. Here I don t see too.
Moin
09.Февраль.2024 11:36:07
4
This Theme component is not installed here. That is why the button does not appear.
Did you add it to your site?
Robert:
kainos
09.Февраль.2024 11:47:33
5
If I knew how to add a plugin it would be good.
Moin
09.Февраль.2024 11:50:11
7
There is a guide how to Install a theme or theme component
All the information is part of the table in the first post
3 лайка
Frully
08.Июль.2024 00:53:58
9
Excellent component!
Bug report: If I click the palette button with no text selected, it inserts the translation descriptor instead of the ‘default text’:
[en_GB.composer.color_ui_default_text]
isn’t found in the site text customization menu, and isn’t on the component settings page.
2 лайка
Canapin
(Coin-coin le Canapin)
30.Декабрь.2024 13:55:18
11
Clicking the palette icon without having text selected output this:
[wrap=color color=# bgcolor=#][en.composer.color_ui_default_text][/wrap]
Is this a missing string?
3 лайка
merefield
(Robert)
30.Декабрь.2024 18:40:47
12
that’s a nasty issue, fixed:
committed 06:39PM - 30 Dec 24 UTC
thanks for the reports @Frully @Canapin
I’ve added settings for default colours.
5 лайков
Canapin
(Coin-coin le Canapin)
30.Декабрь.2024 18:47:32
13
I didn’t even read the last message
3 лайка
nathank
(Nathan Kershaw)
30.Декабрь.2024 22:20:38
14
Awesome work @merefield ! This has been a sorely missing feature - until now!
I wonder if this could be combined with this TC to have a single super-awesome BBCode TC:
This theme component adds few formatting options in the composer : underline, align center, align right, justify and strikethrough. You can customize the text of each button in the settings, making it compatible with every languages. Exist in rtl version (change align right to align left).
4 лайка