Block API remove function
See original GitHub issueI would assume that the remove()
function would be required in such project, there’s adding, getting, but not removing selected block, I would like to remove button block, and add my own - so I can make my own styles for it.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Element.remove() - Web APIs - MDN Web Docs
The Element.remove() method removes the element from the DOM.
Read more >.remove() | jQuery API Documentation
A selector expression that filters the set of matched elements to be removed. Similar to .empty() , the .remove() method takes elements out...
Read more >How to block delete api - Auth0 Community
Click the APIs tab for that app. Next to the management API is a down arrow, click that to expand the permissions. Remove...
Read more >Supports | Block Editor Handbook
Block Supports is the API that allows a block to declare support for certain features. ... supports: { // Remove the support for...
Read more >Delete a block - Notion API
To restore the block with the API, use the Update a block or Update page respectively.. Integration capabilities. This endpoint requires an integration...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Agree, I’ll add it soon, for the moment you can use this
editor.BlockManager.getAll().remove('block-id')
@Geczy probably something like this