Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #51330


Ignore:
Timestamp:
09/17/2020 02:18:03 PM (5 years ago)
Author:
zieladam
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51330

    • Property Keywords has-patch added
    • Property Component changed from General to Editor
    • Property Type changed from defect (bug) to enhancement
  • Ticket #51330 – Description

    initial v3  
    11As discussed in https://github.com/WordPress/gutenberg/issues/15644, block scripts and styles are being loaded only when `$current_screen->is_block_editor() === true`. The experimental widgets and navigation editor should provide access to custom block types but should not use a "block editor screen" mode which comes with more than just scripts and styles. In my opinion, having a way to control just the script&styles enqueuing aspect would be a good solution here.
     2
     3See proposed solution in https://github.com/WordPress/wordpress-develop/pull/537