#2058 closed defect (bug) (fixed)
TinyMCE editor adding border attribute
Reported by: | darkfate | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | normal | Version: | 2.0 |
Component: | Administration | Keywords: | tinymce bg|has-patch |
Focuses: | Cc: |
Description
The blog that I have is using a doctype declaration of XHTML 1.1 which makes it not valid to have border attributes within a image tag. Now what I did was have the post and then put in the image and i deleted the border="0". Then I hit update and post and to my surprise it put back the border attribute! I thought I might of not hit update, but to make sure, I went back to the post and hit the html button and then i deleted the border tag again, then I hit update, and then I hit the html button again and it was back, I didn't even refresh the page or anything!
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Updates to TinyMCE: Removed forced table border, added full XHTML 1.0 Transitional set for unfiltered_html, API improvements, JS moved from admin-header.php to tiny_mce_gzip.php
The border attribute will no longer be added automatically. If you want to change the allowed HTML set to adhere to a different doctype, you must use the new mce_valid_elements filter.