WordPress.org

Forums

Where is the option to leave my HTML alone? (9 posts)

  1. mbym1
    Member
    Posted 5 years ago #

    I generally code raw HTML, but also find the visual editor to be a convenience (at least I would if it worked correctly, which is why I am raising this issue).

    I am an administrator on a site that has two types of users - those that know HTML and those that do not. These two types of users co-exist in that they edit the same pages (so disabling the visual editor is not an option).

    In many instances of my site, I have additional line breaks and indentations in the HTML code to help with organization (some pages are quite lengthy). However, whenever the visual editor is accessed, it strips out these additional organizational tools.

    So, for instance, I bring up a page and it defaults to the HTML editor. I then click on the visual editor, but *do not make any changes*. When I revert to the HTML editor, my organizational line breaks are gone. I didn't make any changes! Where is the option to tell WordPress that I know what I am doing? Why does the software think it knows my code better than me?

    I would like to be able to access the visual editor while also retaining the organizational properties of my HTML.

    -------

    Other notes: I am already using the TinyMCE Advanced plugin to stop the auto-insertion of <p> and
    elements.

    Any ideas?

  2. ryans149
    Member
    Posted 5 years ago #

    I am not sure, but this may help you..

    http://wordpress.org/extend/plugins/role-scoper/

  3. mbym1
    Member
    Posted 5 years ago #

    Thanks for the idea, but the problem is not with roles. The problem is solely related to the visual editor editing what it should not touch.

    The users who do not know HTML are able to edit pages as they should be able to (i.e. using the visual editor)... but they need to be able to do so using the visual editor AND without the visual editor touching the organizational line breaks.

  4. iridiax
    Member
    Posted 5 years ago #

    I am an administrator on a site that has two types of users - those that know HTML and those that do not. These two types of users co-exist in that they edit the same pages (so disabling the visual editor is not an option).

    You basically can't use both the visual editor and the html editor on the same post without it messing up the code. Switching back and forth between the two while writing a post is particularly bad. I don't know of a plugin to disable the html editor and leave only the visual editor.

  5. iridiax
    Member
    Posted 5 years ago #

    Maybe it would work better if they were to switch to using a blog client with WordPress? One of these may handle both types of editing better:

    http://codex.wordpress.org/Weblog_Client

  6. mbym1
    Member
    Posted 5 years ago #

    The objects in question are pages, not posts.

  7. iridiax
    Member
    Posted 5 years ago #

    The objects in question are pages, not posts.

    The same applies to them for editor issues.

  8. icomefromtheinternet
    Member
    Posted 5 years ago #

    This is a *huge* wordpress bug in my opinion. I hope they fix this ASAP. The whole point of a CMS is that I can give it to a client to change their own content -- but if just clicking visual and then clicking html again will mess up their code, I'd probably do better to switch to a different CMS!

    If a client messes with their html code and breaks their page that's one thing. But just clicking a tab? Come now!

  9. MichaelH
    Member
    Posted 5 years ago #

    This is a *huge* wordpress bug in my opinion.

    Just in case you need this, see Reporting Bugs

Topic Closed

This topic has been closed to new replies.

About this Topic