The MU forums have moved to WordPress.org

Recurring problems with tinymce (9 posts)

  1. quenting
    Member
    Posted 17 years ago #

    My users have many problems with TinyMCE. Apart from the times it just doesn't appear in the write page, very often the editor won't properly close tags.
    This results in bold, color, underline or justification to apply not only to the article they were meant to, but also to the rest of the blog, completely messing up the blog layout in many cases.
    When users start messing up just a little with the editor, havoc follows.
    Look here for an example:
    jullia.unblog.fr
    See how the first article header is correctly laid out, while all the following ones inherit from the first article's content formatting.

    Is there any solution to this problem ? It keeps happenning and users complain about their blog's changing layout, fonts, etc.

  2. quenting
    Member
    Posted 17 years ago #

    did some more research and it seems one of the issues is tinymce leaving self-closing tags like <font color="blue" />, those not being correctly interpreted by the browser.
    Ideas on how to remove those ?

  3. nexia
    Member
    Posted 17 years ago #

    where are these tags in tinymce ??... this tag is irrelevent, not W3C compliant,... and would never work anyway. are they generated by tinyMCE ??

  4. quenting
    Member
    Posted 17 years ago #

    yes. they are disabled by default in tinymce but it's just a flag to turn on/off. here is an example of the type of output some users generate:

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3" /></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3" /></em></strong>

    <a href="http://imageshack.us"><strong><em><font face="georgia,palatino" color="#00cc00" size="3"><img alt="Image Hosted by ImageShack.us" src="http://img148.imageshack.us/img148/7162/101006008si6.png" border="0" /></font></em></strong></a><strong><em><font face="georgia,palatino" color="#00cc00" size="3"> </font></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3">C'est comme...si le printemps revenait.</font></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3">J'ai pris ces photos il y a quelques minutes, la nature nous offre ses dernières fleurettes:</font></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3">Fleurs de néfliers:</font></em></strong>

    <a href="http://imageshack.us"><strong><em><font face="georgia,palatino" color="#00cc00" size="3"><img alt="Image Hosted by ImageShack.us" src="http://img152.imageshack.us/img152/1338/101006003bd0.jpg" border="0" /></font></em></strong></a>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3">le figuier fait de nouvelles pousses.</font></em></strong>

    <a href="http://imageshack.us"><strong><em><font face="georgia,palatino" color="#00cc00" size="3"><img alt="Image Hosted by ImageShack.us" src="http://img154.imageshack.us/img154/939/101006004uo7.jpg" border="0" /></font></em></strong></a><strong><em><font face="georgia,palatino" color="#00cc00" size="3"> </font></em></strong>

    <a href="http://imageshack.us"><strong><em><font face="georgia,palatino" color="#00cc00" size="3"><img alt="Image Hosted by ImageShack.us" src="http://img218.imageshack.us/img218/9737/101006012tr9.jpg" border="0" /></font></em></strong></a>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3" /></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3">Petit souci....</font></em></strong>

    <a href="http://www.casimages.com/toolbar.php"><strong><em><font face="georgia,palatino" color="#00cc00" size="3"><img alt="Image hébergée par Casimages.com : votre hébergeur d images simple et gratuit" src="http://www.casimages.com/img/061010030354145734.jpg" border="0" /> </font></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3" /></em></strong>

    </a><a href="http://www.casimages.com/toolbar.php"><strong><em><font face="georgia,palatino" color="#00cc00" size="3"><img alt="Image hébergée par Casimages.com : votre hébergeur d images simple et gratuit" src="http://www.casimages.com/img/061010030442145737.jpg" border="0" /> </font></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3" /></em></strong>

    </a><a href="http://www.casimages.com/toolbar.php"><strong><em><font face="georgia,palatino" color="#00cc00" size="3" /></em></strong>

    <a href="http://www.casimages.com/toolbar.php"><strong><em><font face="georgia,palatino" color="#00cc00" size="3"><img alt="Image hébergée par Casimages.com : votre hébergeur d images simple et gratuit" src="http://www.casimages.com/img/061010030516145739.jpg" border="0" /></font></em></strong></a>

    </a><strong><em><font face="georgia,palatino" color="#00cc00" size="3" /></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3">ce sont des fleurs d'arbousiers, a droite vous pouvez apercevoir le fruit qui rougira avant de mûrir.</font></em></strong>

    <strong><em><font face="georgia,palatino" color="#00cc00" size="3" /></em></strong>

    <a href="http://www.casimages.com/toolbar.php"><strong><em><font face="georgia,palatino" color="#00cc00" size="3"><img alt="Image hébergée par Casimages.com : votre hébergeur d images simple et gratuit" src="http://www.casimages.com/img/061010030631145743.jpg" border="0" /></font></em></strong></a>

    Note the <font face="georgia,palatino" color="#00cc00" size="3" />
    No questions why their blogs get messed up...

  5. andrea_r
    Moderator
    Posted 17 years ago #

    Edit /public_html/wp-inst/wp-includes/js/tinymce/tiny_mce_gzip.php

    The buttons displayed are called in that file. This thread says how to add things, so it may be helpful.

  6. andrea_r
    Moderator
    Posted 17 years ago #

    ooops, they moved the good stuff to /tiny_mce_config.php

  7. quenting
    Member
    Posted 17 years ago #

    so, is nobody else having those problems ?
    I activated convertfontstospans and now instead of
    <font color="blue" />
    i have
    <span color="blue" />
    but this isn't interpreted better by the browser.

    I also have sometimes
    <u /> which results in the whole bottom of the page being underlined.

    I often see also 10 times the same <font color="whatever"> tag and then ten times </font>, like it coudn't figure only one was necessary.

  8. drmike
    Member
    Posted 17 years ago #

    so, is nobody else having those problems

    I'm not but the best place to raise these issues would be the TinyMCE support forums.

    I learned a long time ago that TinyMCE has a number of issues. I myself only use it when I have to.

  9. quenting
    Member
    Posted 17 years ago #

    well i'm migrating the thing to the latest version. Almost working in my test env., and seems to be stripping those crappy markup elements.
    And then maybe i can get the image manager thing to work :-).

About this Topic

  • Started 17 years ago by quenting
  • Latest reply from quenting