Skip to content

pasteHandler from @wordpress/blocks v14 fails to parse html #129

@ashfame

Description

@ashfame

Irrespective of BLOCKS or AUTO mode, it doesn't work. INLINE does work but that's not desirable as a result.

The output looks like:

<!-- wp:paragraph /--> <!-- wp:paragraph /--> <!-- wp:paragraph /--> <!-- wp:list {"ordered":true} /--> <!-- wp:paragraph /--> <!-- wp:image {"id":2130362,"linkDestination":"custom"} /--> <!-- wp:image {"id":2130365} /--> <!-- wp:image {"id":2130369,"linkDestination":"custom"} /--> <!-- wp:paragraph /--> <!-- wp:paragraph /--> <!-- wp:image {"id":2130339} /--> <!-- wp:paragraph /--> <!-- wp:image {"id":2130340} /--> <!-- wp:paragraph /--> <!-- wp:paragraph /--> <!-- wp:image {"id":2130341,"linkDestination":"custom"} /--> <!-- wp:paragraph /--> <!-- wp:paragraph /--> <!-- wp:paragraph /-->

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions