WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #46597, comment 4


Ignore:
Timestamp:
03/27/2019 07:19:19 PM (9 months ago)
Author:
aduth
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46597, comment 4

    initial v1  
    1 At a minimum, I'd expect the `safecss_filter_attr` to include those style properties produced by blocks shipped with core. To this end, I've audited the save implementations of existing blocks, and discovered the following properties:
     1At a minimum, I'd expect the `safecss_filter_attr` to include those style properties produced by blocks shipped with core. To this end, I've audited the save implementations of [https://github.com/WordPress/gutenberg/tree/master/packages/block-library existing blocks], and discovered the following properties:
    22
    33- `background-color` (button, cover, paragraph, pullquote)