• Using CKEditor’s Source button, I entered in some necessary Font Awesome html. When I returned to Visual, Updated my page and refreshed in the front end, the code is gone.

    How can I prevent CKEditor from overwriting my code? I switched to CKEditor for this reason that I thought would fix the issue I was getting from TinyMCE. Any solutions?

    https://wordpress.org/plugins/ckeditor-for-wordpress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor vokiel

    (@vokiel)

    You can try to disable ACF (Advanced Content Filter)

    If enabled, CKEditor will strip all HTML tags that are not allowed by CKEditor plugins.

    To do so navigate to CKEditor > Advanced Settings (wp-admin/admin.php?page=ckeditor_advanced_options) and select Disabled option next to the Advanced Content Filter option.

    Thread Starter toad78

    (@toad78)

    Unfortunately, that doesn’t really fix my problem.

    I eventually found a plugin that would allow my code to be be preserved. Plus I found out that in order for Font Awesome to work, you have to put a space in between the code so the code doesn’t disappear.

    Not necessarily the most friendliest of text editors. Or it could be just WP altogether.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CKEditor Overwrites Code’ is closed to new replies.