Repository navigation
Docs: Add instructions for disabling the Block Directory - #24357
Conversation
|
Size Change: 0 B Total Size: 1.16 MB ℹ️ View Unchanged
|
mkaz
left a comment
There was a problem hiding this comment.
This looks good, thanks for documenting. 👍
One comment, we probably could remove the "Experimental" title on the overall document.
It doesn't look like any of the filters would still be considered experimental. @youknowriad ?
|
Yes, I don't really know why there's an "Experimental" flag there. |
Per #24357 the experimental in the title for editor filters is no longer needed.
|
Merged this one and added title change in #24382 |
|
I've been working this more. We should update the documentation to hook into |
|
@uamv I can understand for developing your own theme, but I think it might surprise a user that using a theme could disable the block directory. |
|
Yeah, I was primarily considering folks who might be using a child theme. It seems that many tutorials introducing custom code snippets advise users to insert the code into |
Per #24357 the experimental in the title for editor filters is no longer needed.
Description
Now that we have a way to disable the Block Directory, we should document it. See #23961 (comment) This PR adds a section into the Editor Filters section, with example code to remove the Block Directory. Looking at other docs, this seems to be the best place for it, but I'm open to moving it if there's somewhere better.
Closes #23961
How has this been tested?
View the documentation at docs/designers-developers/developers/filters/editor-filters.md
Types of changes
Documentation