Browse Source

syntax gutenberg blocks

windhamdavid 4 months ago
parent
commit
8cc540b68c
1 changed files with 5 additions and 3 deletions
  1. 5 3
      docs/host/WordPress-Block.md

+ 5 - 3
docs/host/WordPress-Block.md

@@ -435,12 +435,14 @@ add_filter(
 );
 ```
 
+---
+## Notes
 
+:::info[Idea 💡]
 
+I found over the process of several of these projects that it's much easier to copy/paste the templates/patterns from within the Gutenberg Code editor than it is to hand write them. It's be much faster if there was syntax highlighting in the editor. See my [comment](https://github.com/WordPress/gutenberg/issues/17017#issuecomment-1883491136) on an existing Github issue.
 
-
----
-## Notes
+:::
 
 - https://css-tricks.com/wordpress-global-styles-reference-tables/
 - https://developer.wordpress.org/news/2023/12/a-walk-through-tutorial-on-using-create-block-theme-plugin/