Forums

TinyMCE removes my HTML code in posts (10 posts)

  1. spstieng
    Member
    Posted 3 years ago #

    Every now and then I need to enter some HTML code in my posts.
    I switch to HTML view, enter the code and swich back to visual view.
    It looks good. Going to HTML view again, my HMTL code is gone.

    This is really annoying.
    I've read this post and this post regarding this issue, but no one seems to have a solution for this problem.

    An old post here, talks about other WYSIWYG editors. But not one editor is really suggested as a good replacement for TInyMCE.

    Is ANYONE using a better editor than TinyMCE?

  2. iridiax
    Member
    Posted 3 years ago #

    Do not switch back and forth between the visual and html editors, doing so will mangle your code. If you are adding code, stick to the html editor. The visual editor is NOT a tool for previewing your posts, it is only for people not comfortable with using code. If you wish to preview your unpublished posts, click the Preview this Post button.

  3. spstieng
    Member
    Posted 3 years ago #

    A good WYSIWYG editor doesn not f*** up your code by switching views ;o)

    If you work with tables or links, you don't want to see the HTML code.

    So.... does anyone have any good alternative?

  4. iridiax
    Member
    Posted 3 years ago #

    Some people use Windows Live Writer with WordPress. I haven't tried it myself.

  5. spstieng
    Member
    Posted 3 years ago #

  6. mida68
    Member
    Posted 3 years ago #

    We agree the HTML editor is not truly a raw html editor - it does all kinds of weird tag stripping and code inserting. Has anyone been successful installing something else? We need to allow clients to use the WYSIWYG editor but when we set up the initial site, we definitely need a raw html editor.

  7. bertaeus
    Member
    Posted 3 years ago #

    A raw html editor would be great. I seem to have constant strife with tinyMCE and associated plugins (tinyMCE advanced is not solving the tag stripping and inserting issues) requiring time-wasting workarounds. Be nice to see it in the core but a plugin would be a start.

  8. rhodo
    Member
    Posted 3 years ago #

    Hmm this is an interesting discussion.

    I am one of the many people who want line breaks, but I have no tinyMCE config file which is part of the solution in this post. So I wonder if tinyMCE is even configured for my system. I deleted the entire folder and got a couple one-time errors, and otherwise nothing was affected.

    I think this general problem has at least two different root causes for different users. I could be wrong but that;s what I am working with now.

  9. spstieng
    Member
    Posted 3 years ago #

    hmmm.... I found this link which evaluates different editors.

    Maybe some of these could be used?

  10. rhodo
    Member
    Posted 3 years ago #

    spstieng:

    Thanks, maybe I will try some of those out. I am pretty confused right now...

Topic Closed

This topic has been closed to new replies.

About this Topic