Do I understand correctly that in plugins and themes do not have access to the internal structure of a post? Like its images or other blocks made with the block editor? It outputs html no matter what?

Apparently yes. It seems that whatever you edit is stored in the database as the resultant html. Even wordpress's own code to handle image sizes does a regular expression to find the img tag. I would at least have expected the individual blocks to be stored separately.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!