WordPress.org

Ready to get started?Download WordPress

Forums

WP-Syntax
CKEditor destroys formatting for me (3 posts)

  1. Cygon
    Member
    Posted 2 years ago #

    When I use this plugin, the moment I edit my post via CKEditor (instead of writing raw html), it completely destroys the <pre /> tags, removes code indentation and sprinkles everything with paragraph tags.

    Had the same problem with all other syntax highlighting plugins as well. It almost seems as if WordPress just isn't a good platform for blogging developers...

    http://wordpress.org/extend/plugins/wp-syntax/

  2. nicomania
    Member
    Posted 2 years ago #

    Yes, I have the same prob too. Even the line="1" totally disappeares after every edit in CKE.
    But I think the conversion into paragraph tags is ok, so the question should be, why is it not correctly displayed by the browser, like the other tags in the texts?

  3. Diane Bourque
    Member
    Posted 1 year ago #

    I have the same problem. We can circumvent this by choosing "Disable the visual editor when writing" in our Profile but this is a real pain as we have to write everything in html, and then we have to toggle on and off from the visual editor. I love what the plugin does for PHP and CSS codes but I hate it when it destroys everything I've built!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags