[wp-trac] [WordPress Trac] #13314: HTML is deleted when switched to visual editor
WordPress Trac
wp-trac at lists.automattic.com
Mon May 10 01:08:29 UTC 2010
#13314: HTML is deleted when switched to visual editor
----------------------------+-----------------------------------------------
Reporter: BH8489 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Administration | Version: 3.0
Severity: major | Keywords: HTML editor
----------------------------+-----------------------------------------------
Several "advanced" (or more appropriately, specific) HTML and CSS
customizations inserted in the WordPress editor are removed when the post
or paged is switched to visual editor view.
This old post, [http://core.trac.wordpress.org/ticket/3311] , seems to be
targeting a similar point, but I disagree with it, in that HTML shouldn't
be added in the visual editor. When HTML is added in the HTML editor,
however, it should not disappear when the post edited using the to visual
editor.
For example, if there is an intro paragraph of plain text, followed by an
iframe, flash embed, then table... the iframe, possibly flash, and table
will all (rightfully so) need to be created with the HTML editor. Say the
administrator puts these enhancements on the page; another end user should
be able to edit the paragraph of plain text in visual editor without the
iframe, flash, and table being removed from the page. While it would be
understandable for the iframe etc. to be replaced with a (?) symbol of
some kind in the backend, the code should remain in the HTML viewer, and
therefore on the front end pages.
HTML affected includes iframes, certain attributes like colspan in tables,
various CSS markup, and pretty much anything that can't be accomplished
using the visual editor.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13314>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list