Describe your issue or idea
I often want to make text in various text areas smaller. Unfortunately Backdrop's implementation of ckeditor is lacking the ability to do so :(
From stack overflow: https://stackoverflow.com/questions/24171606/ckeditor-format-tags-and-a-...
Search for CKEDITOR.config.format_h6 in ckeditor.js and add CKEDITOR.config.format_small={element:"small"};.
open the languagefile you want (e.g. en.js) and add "tag_small":"small text". now CKEditor supports the small tag.
Steps to reproduce (if reporting a bug)
Attempt to wrap some text in the <small>
tag.
Actual behavior (if reporting a bug)
There's no <small>
tag.
Expected behavior (if reporting a bug)
A <small>
tag.
~PR by @quicksketch: https://github.com/backdrop/backdrop/pull/2102~ ~PR by @BWPanda: https://github.com/backdrop/backdrop/pull/2777~ PR by @quicksketch: https://github.com/backdrop/backdrop/pull/2799
Recent comments
Hello argiepiano. Thank you. It's not clear to me how to populate that global variable in the first instance. Any pointers on that, please?
Global variable
Hello trapeharde32. I'd create a custom token to output that global variable, use the module token filter to be able to include tokens in text fields, and insert the token in the desired node fields.
Global variable
I used "none" (no editor plugin) on D7. In Backdrop, I am using CKEditor. From the documentation, it looks like Backdrop (like D7) saves the line breaks without the HTML tags: Why doesn't Backdrop...
Editing nodes makes them lose formatting