• Resolved Spencer Hill

    (@ws5f3dj7)


    Clients of mine are complaining that when they hit enter to create a space between lines that it is getting deleted. I assume this is related to the Visual Editor (TinyMCE, correct?) is setup to cleanup code before posting. How can I disable this feature?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Got an example page/post? Every one of these “WP deletes my blank lines. paragraph” complaints that I’ve seen turned out to be a CSS issue.

    Thread Starter Spencer Hill

    (@ws5f3dj7)

    I’m not sure how I could show you. Because it’s happening from the administration side. But when a user hits enter, a
    /<p> </p> tag is suppose to be created, but if you switch to the visual editor or hit publish it is removed. However, when you create these same tags in the HTML editor it works fine.

    It is not advised to switch between code and visual editor; they can conflict and cause problems

    Thread Starter Spencer Hill

    (@ws5f3dj7)

    Though I appreciate your advice, the problem we’re encountering is ultimately unrelated to the Code Editor, as it works fine. It’s the Visual Editor that simply won’t maintain line breaks, be they
    or <p> </p>. I wouldn’t care personally because I’m a programmer, but my clients aren’t so the problem remains with the Visual Editor.

    Thanks for the advice on that though!

    Thread Starter Spencer Hill

    (@ws5f3dj7)

    I discovered this is an issue not with the Visual Editor, or even TinyMCE itself, but the plugin that TinyMCE wrote for WordPress. Here is the fix: https://www.laptoptips.ca/projects/tinymce-advanced

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to disable code cleanup in Visual Editor’ is closed to new replies.