Skip to content

Conversation

@dd32
Copy link
Member

@dd32 dd32 commented Apr 18, 2024

If the source textarea contains non-block HTML/text, currently the editor loads without any content in the editor.

This PR borrows the loader handler from this isolated editor example, but adopt the block check to look for <!-- wp: as a better notion of whether something is a block content or not.

https://github.com/Automattic/isolated-block-editor/blob/trunk/src/browser/index.js

This fixes editing old posts written pre-block-editor on the WordPress support forums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant