Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add allowedBlocks and TemplateLock attributes in Cover Block #31326

Merged
merged 4 commits into from
Oct 16, 2021

Commits on Oct 16, 2021

  1. Add allowedBlocks and templateLock attributes to Cover Block

    Add an option to pass allowedBlocks to Cover Block.
    Usage:
    [ 'core/cover',
    	  {
    		allowedBlocks: ALLOWED_BLOCKS,
    		templateLock: "insert",
    	  },
    	  []
    ],
    
    Feature from WordPress#31312
    ajotka authored and mkaz committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    accb20b View commit details
    Browse the repository at this point in the history
  2. Add new attributes to edit.native

    ajotka authored and mkaz committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    a008ef9 View commit details
    Browse the repository at this point in the history
  3. Remove templatelock default

    ajotka authored and mkaz committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    397ce8c View commit details
    Browse the repository at this point in the history
  4. Remove templatelock default

    ajotka authored and mkaz committed Oct 16, 2021
    Configuration menu
    Copy the full SHA
    b435d27 View commit details
    Browse the repository at this point in the history