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
Just FYI, for field API date fields that use ISO format (basically a string), the resulting expression produced by the date_views_filter_handler_simple handler is DATE_FORMAT(STR_TO_DATE(...
Filter view on date
I think storing as timestamps would be the simplest and best way. Thanks for the help!!
Filter view on date
Yes, what I suspected. The core views filter handler for dates (views_handler_filter_date) can only handle UNIX timestamp sql columns. You'll either need to extend that filter handler to...
Filter view on date