-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Template part: prevent adding block in post editor or inside post tem…
…plate or content blocks (#44480) * Reordering the filter so that any filters added int the block library get applied first, and become overridden by post editor initialization. Renaming `can` to `canInsert` for clarity * Updated comment * Formatting inline JS comment betterer :P
- Loading branch information
1 parent
61a1bc2
commit add234f
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters