[wp-trac] [WordPress Trac] #20304: Strikethrough does not work for multiple paragraphs in the post editor
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 25 21:32:57 UTC 2012
#20304: Strikethrough does not work for multiple paragraphs in the post editor
--------------------------+------------------------------
Reporter: tollmanz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+------------------------------
Changes (by knutsp):
* cc: knut@… (added)
Comment:
A part of the problem here may be that ins and del comes in two flavors,
the inline elements and the block level elements of the same names. See
http://www.w3.org/TR/html401/struct/text.html#edef-del. Depending on
whether the elements appear at the block level or the inline level, they
should ideally be treated differently.
The WordPress editors have never accepted ins/del as block level elements,
but treats them as inline only elements. In 3.3.1, when you try to use
them as block elements, they are "refactored" into several inline
elements, one for each paragraph. This may be the expected behaviour,
though.
Tested in 3.4-alpha-20275 and it works there as expected. Suggest
worksforme.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20304#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list