Skip to content

There is no raw transformation available for copy and pasting video element into the editor #42768

@codebymikey

Description

@codebymikey

Description

There is no "raw" transformation available for video elements.

Step-by-step reproduction instructions

Attempting to copy and paste the following HTML into the editor should create equivalent Video blocks, however it pastes them into a Paragraph block and stops the user from editting them:

<video controls src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"></video>
<video controls>
  <source src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"></source>
</video>

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions