FontAwesome recommends displaying its icons using <i class="fab fa-facebook"></i>
(an empty i
tag). However CKEditor removes empty tags.
One way around this is to enable source mode in CKEditor, add the empty i
tag and then save the entity without turning off source mode (so CKEditor doesn't remove the tag). However I'm wanting to use this in a block and, because of https://github.com/backdrop/backdrop-issues/issues/1259, this workaround doen't work.
The proper solution to allow empty tags in CKEditor is to add some code to a config.js file, however I'm not sure how to do that in Backdrop without hacking core... Is there another way I can do this, or can we add a UI option in core to specify allowed empty tags?
Recent comments
The horrors of cut/paste! Brilliant, thanks.
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value:
The issue could be related to the Emojis in the body field. Can you check the Status report (admin/reports/status) for the item MySQL Database 4-byte UTF-8 support? To display Emojis, 4-byte UTF...
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value:
@argiepiano, thanks a lot! For Webform it will be always "webform_client_form_NID", correct?
How to add Webform ID to Captcha module?