How to check in JS if the currently edited post has no Gutenberg blocks added


Using'core/editor').getEditorBlocks() which returns empty arrays if there is no blocks is a way, but I’m curious if I can check it in an easier or better way?

kanlukasz 3 months 0 Answers 8 views 0

Leave an answer