WordPress.org

Ready to get started?Download WordPress

Forums

WP 2.1 - Posting Problem (38 posts)

  1. trohrer
    Member
    Posted 6 years ago #

    This problem with TinyMCE eating div tags is all over the support forum.

    But there is a way to keep using the visual editor and make things work better--use a plugin like quicktags or write a set of replacement functions to provide formatted div code in your theme's functions.php.

    I did the latter for my rounded corners inside wordpress posts article...

  2. neurophyre
    Member
    Posted 6 years ago #

    Why is this not fixed? It's been months. :|

  3. richarduk
    Member
    Posted 6 years ago #

    Yes, I'm looking as well :-)

  4. moshu
    Member
    Posted 6 years ago #

    Don't look :)
    the wysiwyg animal is NOT for posting code. It's for code illiterates. If you want your code - disable it. Period.

  5. neurophyre
    Member
    Posted 6 years ago #

    Uh, we're using the code view to post code. The editor is still replacing div tags with p tags. There's no excuse for that, but thanks for playing.

  6. Ben Tremblay
    Member
    Posted 6 years ago #

    neuro et al: there's a lot of threads dealing with the "replacing div" and such-like. Well, trying to deal with ...

  7. here
    Member
    Posted 6 years ago #

    Attempt at collecting this info on codex at:

    http://codex.wordpress.org/How_Wordpress_Processes_Entry_Text

  8. dhackney
    Member
    Posted 6 years ago #

    If you are not using Safari and running at least WP 2.0, this is a solution:

    link:
    http://www.deanlee.cn/wordpress/fckeditor-for-wordpress-plugin/

    or here:
    http://wordpress.org/extend/plugins/fckeditor-for-wordpress-plugin/

    It solved all problems mentioned in this thread that I shared.

    - Displays and retains all raw code
    - No elimination of code toggling between WSIWYG and code
    - No elimination of code publishing and re-editing
    - Enables copy and paste from MS Word with full retention of formatting (if desired)

    I am running WP 2.2.2

Topic Closed

This topic has been closed to new replies.

About this Topic