Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #35953


Ignore:
Timestamp:
02/25/2016 08:09:10 PM (9 years ago)
Author:
ocean90
Comment:

The visual editor is not an HTML editor. You can reproduce the issue in the TinyMCE editor demo too. If you're adding custom HTML you shouldn't use the visual editor at all.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35953

    • Property Keywords close added
    • Property Component changed from General to Editor
    • Property Summary changed from Wordpress mess up my posts and pages when im putting html and scripts in it to WordPress mess up my posts and pages when im putting html and scripts in it
  • Ticket #35953 – Description

    initial v2  
    1 I am so sick and tired of Wordpress messing up my scripts on posts and pages when switching from text to visual.
     1I am so sick and tired of WordPress messing up my scripts on posts and pages when switching from text to visual.
    22
    3 When I put something in there it is becaus I intend it to be there. I don't want Wordpress to make changes to my code!!
     3When I put something in there it is because I intend it to be there. I don't want WordPress to make changes to my code!!
    44
    55I have this line: <td valign="top" align="left" width="100" height="10"><a href="infrarod-cyan" onMouseOver=" switchimages('Bimage0',1); return true" onMouseOut=" switchimages('Bimage0',0); return true" onClick=" switchimages('Bimage0',2); return true"><img name="Bimage0" src="/wp-chili-matrix/ChiliMatch_C2_R2.jpg" width="100" height="10" border="0" alt=""></a></td>
     
    1010Which means my mouseover stops working.
    1111
    12 It took me months to figure out that it is Wordpress (not the editor) that deletes my code and every time I accidentally switch from text to visual OR if the editor opens in text the code gets ruined.
     12It took me months to figure out that it is WordPress (not the editor) that deletes my code and every time I accidentally switch from text to visual OR if the editor opens in text the code gets ruined.
    1313
    1414I want to be able to trust that what ever I put in there is going to STAY there!!!