editor-js / editor-js/header

Pasted headings are invalid

Open
#95 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
115
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Header tool doesn't work if I paste content with a heading,

for example from:

[https://about.google/products/](https://about.google/products/)

Headings are shown but the component is invalid.

The content is not saved anywhere and the tools are lost on that block.

Example of selected text and the result in the editor in development mode:

![Screenshot_20230921_084605](https://github.com/editor-js/header/assets/16900925/a2df38a8-8ba0-43b7-a533-a1c34ddddfb4)
![Screenshot_20230921_084617](https://github.com/editor-js/header/assets/16900925/7b0fafc7-da33-4688-8eb0-6d653715d85a)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.