How to get html code of “core/image” using API?
-
I need to get the full html code of the “core/image” block, knowing only its attributes (media ID, size, etc). Is there an rest-API for this? The block-renderer does not seem to work with the “core/image”. Perhaps there is an appropriate PHP function? Then I would be able to create the desired rest-endpoint on my own.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to get html code of “core/image” using API?’ is closed to new replies.