[wp-trac] [WordPress Trac] #33805: Blockquotes that directly wrap lists quote each list item

WordPress Trac noreply at wordpress.org
Wed Sep 23 23:34:56 UTC 2015


#33805: Blockquotes that directly wrap lists quote each list item
--------------------------+------------------------------
 Reporter:  krogsgard     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by krogsgard):

 Replying to [comment:2 azaozz]:
 > This depends on the current selection. If the <li> are selected, it adds
 the blockqupote tags inside them. If the <ul> is selected, it wraps it in
 a blockquote. Both cases are "correct" and may be used.

 Hmm. I wonder how often someone would blockquote inside an <li> versus be
 trying to blockquote the whole thing?

 > The only way to control this is by looking at the "element path" at the
 bottom of the editor. When the whole <ul> needs to be wrapped in a
 blockquote, make sure it is selected or click on it to select it.

 I always forget that is even there, nor really what to do when I do see it
 :/

 > Perhaps we can try to look at the selection before adding <blockquote>.
 Determine if all <li> nodes are selected, and select the parent node. But
 that may be hit and miss sometimes.

 This is basically what I would advocate. I just can't imagine ever wanting
 to en-masse blockquote every individual <li>. And when it happens to me,
 it can be painstaking to fix it if I don't notice it's too many steps back
 to easily "undo".

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33805#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list