[wp-trac] [WordPress Trac] #22175: Switching to Visual Editor strips table attributes
WordPress Trac
noreply at wordpress.org
Tue Nov 6 17:44:51 UTC 2012
#22175: Switching to Visual Editor strips table attributes
--------------------------+--------------------
Reporter: batmoo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: TinyMCE | Version: trunk
Severity: blocker | Resolution:
Keywords: |
--------------------------+--------------------
Comment (by azaozz):
Did some more research about old/obsolete HTML3 attributes. They only work
if the element has no css styling. On top of that some obsolete attributes
are ignored as soon as any css styling is applied, even when there is no
direct css style that replaces them.
In that terms we are not talking about "not loosing data" but rather about
preserving obsolete code that introduces inconsistencies.
Since tables were used mostly for layout, the behaviour of obsolete
attributed is more consistent there. Perhaps they should be treated as
special case. We can set TinyMCE to allow all HTML attributes on them.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22175#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list