Forums

Problem with the editor messing up the code (3 posts)

  1. FunnyBunnyHelena
    Member
    Posted 1 year ago #

    Hello!

    I hate the editor because it is hard to work with when I am adding custom code. Often it messes the code up.

    For example look at this:

    In the editor it shows like this:
    Norton 3X Contour Sanding Sponges (a href="http://blog.funnybunny.se/wp-content/uploads/2009/08/allaboutew_yellowsponge.jpg" title="Yellow sponge" rel="lightbox[001]")yellow(/a) and (a href="http://www.funnybunny.se/wp-content/uploads/2009/08/redsponge.jpg" title="Red sponge" rel="lightbox[002]")red(/a)

    But on the page itself it looks like this:

    Norton 3X Contour Sanding Sponges (a class="cboxElement" href="http://blog.funnybunny.se/wp-content/uploads/2009/08/allaboutew_yellowsponge.jpg" title="Yellow sponge" rel="lightbox[001]")yellow(/a) and (a href="http://www.funnybunny.se/wp-content/uploads/2009/08/redsponge.jpg" title="Red sponge")red(/a)

    Look at the code of the last link and compare!

    The editor often do things like this...

    What can I do to avoid this problem?

    I also have TinyMCE advanced and Deactivate visual editor plugins, both latest versions. On the post in particular I have deactivated the visual editor, only using the HTML part, but it is still generating messed up code.

    Thanks for reading and if I have forgotten something just let me know.

  2. richarduk
    Member
    Posted 1 year ago #

    I'm puzzled. Are you deliberately replacing <> with ()?

    (a class="cboxElement") (/a) should be <a class="cboxElement"> </a>

    Is that short code stuff for a plugin?

  3. FunnyBunnyHelena
    Member
    Posted 1 year ago #

    I replaced with () to not mess with forums (I am not sure if this forum will handle or not)

    So it will be <> yeah!

    And the class I think is added by lightbox plus plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic