Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Feb 15, 2024
1 parent ec052bb commit 9ad5632
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const POST_TYPES_ALLOWING_POST_CONTENT_TEMPLATE_PART = [
export function useHideBlocksFromInserter( postType ) {
useEffect( () => {
/*
* Prevent adding template part in the post editor.
* Prevent adding template part in the editor.
*/
addFilter(
'blockEditor.__unstableCanInsertBlockType',
Expand All @@ -41,7 +41,7 @@ export function useHideBlocksFromInserter( postType ) {
);

/*
* Prevent adding post content block (except in query block) in the post editor.
* Prevent adding post content block (except in query block) in the editor.
*/
addFilter(
'blockEditor.__unstableCanInsertBlockType',
Expand Down

0 comments on commit 9ad5632

Please sign in to comment.