[wp-trac] [WordPress Trac] #47281: Editor: KSES: Include Flex properties in CSS whitelist to support core Column block width

WordPress Trac noreply at wordpress.org
Sat May 18 04:33:34 UTC 2019


#47281: Editor: KSES: Include Flex properties in CSS whitelist to support core
Column block width
-------------------------+----------------------------
 Reporter:  aduth        |       Owner:  peterwilsoncc
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.3
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------------
Changes (by peterwilsoncc):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45363" 45363]:
 {{{
 #!CommitTicketReference repository="" revision="45363"
 KSES: Add `flex` and related long form properties to safe CSS.

 Allow `flex`, `flex-grow`, `flex-shrink` and `flex-basis` to be used in
 inline CSS. As of WordPress 5.3 the block editor is expected to use `flex-
 basis` inline to set the width in the column block.

 Props aduth.
 Fixes #47281.
 See #37248.
 }}}

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


More information about the wp-trac mailing list