Hey,
I enabled ACF (automatic) and added allowed content for the i tag to display bootstrap icons. However, two issues:
1) If the tag is empty, it gets removed. I have to add & nbsp; manually to prevent this. How can I configure ACF to leave empty i tags?
2) How do I prevent ACF from changing i tags to em tags?
Thanks, J.
I added next strings in
I added next strings in ckeditor.config.js for solve problem in question #1.
// ALLOW empty tags <i></i>
config.protectedSource.push(/<i[^>]*><\/i>/g);
CKEDITOR.dtd.$removeEmpty.i = 0;