Forums

WordPress messing with my HTML tags! (4 posts)

  1. Fotis K
    Member
    Posted 1 year ago #

    Greetings,
    I'm running wordpress 3.2.1 with CKEditor 3.6.2.1 and am having trouble with the Visual editor destroying the line-breaks I insert with Shift-Enter! At first I thought it was a CKEditor issue, but after reading through various thread seems it's a wordpress problem! I've tried remove_filter ('the_content', 'wpautop'); in both page.php and functions.php but to no avail! This problem is driving me crazy!
    Anybody who could help?
    -Fotis

  2. ChristiNi
    Member
    Posted 1 year ago #

    Hi Fotis K,

    I would recommend switching to the HTML tab in the TinyMCE to enter your line breaks.

    Hope this helps!

  3. Fotis K
    Member
    Posted 1 year ago #

    Thanks for answering! Unfortunately TinyMCE is not an option, since its support for visually impaired people is very limited. As for switching from Visual to the HTML tab and setting breaks over there, it works until I switch back to Visual or reopen the document for editing (not to mention that I'm not the only article Author in the website - so forcing other people write HTML is not very practical)

  4. res401
    Member
    Posted 1 year ago #

    WordPress Version 3.3.1
    This has been driving me crazy for weeks now, I have tried everything I can find so far, disableing the wpautop() function, this tinymce advanced plugin, etc.

    The only thing I found that worked was to create this: http://rich-stadnick.com/2012/02/wp-br-tags-fix-wordpress-from-auto-correcting-your-post-format/

    Hope it help's you guys out.
    Rich

Topic Closed

This topic has been closed to new replies.

About this Topic