[wp-trac] [WordPress Trac] #47602: Provide a way for block authors to allow content into the excerpt from a columns type block.

WordPress Trac noreply at wordpress.org
Mon Jun 24 19:29:24 UTC 2019


#47602: Provide a way for block authors to allow content into the excerpt from a
columns type block.
--------------------------+-----------------------------
 Reporter:  britner       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hey!
  I would like a way for block authors to allow their nested blocks to be
 used to render the excerpt. I know that you can allow specific blocks to
 be rendered but if the block structure is similar to core columns blocks
 the content is ignored. This is because core columns have specific code in
 place to allow their content to be used. I don't understand why it's set
 up this way for only core columns to get their inner blocks checked.

 https://core.trac.wordpress.org/browser/tags/5.2/src/wp-
 includes/blocks.php#L164

 I also don't understand why only core blocks are allowed inside inner
 content? There is no filter for the $allowed_inner_blocks variable.

 If this is something I can help with I would be happy to submit a pull
 request.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47602>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list