WordPress.org

Ready to get started?Download WordPress

Forums

Tinymce destroys the source code completely (5 posts)

  1. altrugon
    Member
    Posted 7 years ago #

    Please take a look to this post, I think Ella has a huge bug that it should be fixed soon.

    http://wordpress.org/support/topic/111821?replies=1

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Known issue, it's in trac, a fix will be coming when somebody works one out:
    http://trac.wordpress.org/ticket/3826

    Removing the p/-div[*], from line 25 *does* work, BTW. The DIVs don't turn into P's from switching back and forth between the visual and code views when you do that.

  3. altrugon
    Member
    Posted 7 years ago #

    I also have seen that the code is totally "write" wrong when you try to validate your blog. I was going through the W3C xhtml validator and pices of code like this one

    ...
    <option value="1">1</option>
    <option value="2">2</option>
    ...

    It was being "reading" like this

    ...
    <option value="1">1</option><br/>
    <option value="2">2</option><br/>
    ...

    I don't mind to use the code window, but at least I want my code exactly in the way that I type it.

  4. rudolf45
    Member
    Posted 7 years ago #

    If you want your code - forget the wysiwyg. Disable it, delete it, just don't use it.
    The tinymce thing is not for those that know code.

    On the other hand: if you need a form or other kind of code stuff into your pages, don't type it in the content area; put them into templates. It is much better.

  5. altrugon
    Member
    Posted 7 years ago #

    Rudolf45 that is a great solution when you are the only one that access to the blog, but it doesn't work very well when you have more people posting, or even worst editing the post that you already have created.

    I hope this bug be fixed soon, it's insane going post by post searching for bad code.

Topic Closed

This topic has been closed to new replies.

About this Topic