Support » Plugins » [Plugin: Developer Formatter] Line breaks removed on edit

  • Using the visual editor, everything works fine when I initially create a post. However, if I edit a post I noticed that line breaks that were put in after the end of the code snippet are removed.

    For instance, I may enter a code snippet in to the visual editor, followed by some text, such as….

    class Foo {
    public:
      // ... more code
    }; <--- code snippet ends here
    
    This would be an explanation of the code.

    In the original post, there would be two line breaks after the code snuppet ends. However, if I leave the post entry screen, and come back to edit it later, the extra line break is deleted, and it ends up looking like…

    class Foo {
    public:
      // ... more code
    }; <--- code snippet ends here
    This would be an explanation of the code.

    I really like the plugin, but it makes it difficult to edit posts, because I am constantly having to re-add extra line breaks every time I wish to make a change.

    http://wordpress.org/extend/plugins/devformatter/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Developer Formatter] Line breaks removed on edit’ is closed to new replies.