WordPress.org

Support

Support » How-To and Troubleshooting » Where is the option to leave my HTML alone?

Where is the option to leave my HTML alone?

  • 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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I am not sure, but this may help you..

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

    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.

    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.

    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

    The objects in question are pages, not posts.

    The objects in question are pages, not posts.

    The same applies to them for editor issues.

    icomefromtheinternet

    @icomefromtheinternet

    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!

    MichaelH

    @michaelh

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

    Just in case you need this, see Reporting Bugs

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Where is the option to leave my HTML alone?’ is closed to new replies.