[wp-trac] [WordPress Trac] #13314: HTML is deleted when switched to visual editor
WordPress Trac
noreply at wordpress.org
Mon Dec 10 20:29:48 UTC 2012
#13314: HTML is deleted when switched to visual editor
--------------------------+---------------------
Reporter: BH8489 | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by jond3r):
* cc: jond3r@… (added)
Comment:
I've always stayed away from the Visual tab, ever since I learned that
TinyMCE "messes" with my HTML. Inspired by the recent tickets #22790 and
#22842, I started testing different configuration parameters using the
{{{tiny_mce_before_init}}} filter. An interesting find I made was the
{{{verify_html}}} setting, which if set to {{{false}}} completely disables
verification and "clean-up" of the elements. With this setting I assume
that the definition of an HTML4 or HTML5 schema becomes redundant, since
every markup is accepted. However, I realize that this is probably not a
generally desired behavior, and it certainly breaks previous WP behavior.
I think it was a feature like this that was requested higher up in the
thread.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13314#comment:42>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list