Is there any action that runs on load of editor before the blocks are loaded?
-
Basically, I want to load some data in the block editor that is responsible for rendering the block’s HTML, through REST API which I was previously loading through a Localized variable.
But, I want the REST API to load the data working before any blocks load.
When I was sending that data from a localize variable then it was working fine, but it is not very memory efficient.
Can someone please help me with this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Is there any action that runs on load of editor before the blocks are loaded?’ is closed to new replies.