-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Block] ParagraphAffects the Paragraph BlockAffects the Paragraph Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Describe the bug
In Gutenberg 6.5.
Shows this error in the console :
react-dom.min.b694e242.js:103 TypeError: Cannot read property 'trim' of undefined
To reproduce
- Copy text from a source where there is a tag with no href
or
create a link with no href when editing a block in HTML mode - In visual mode, click on the link or drag over it (like when you want to select text containing a anchor with no href).
- Oups, block is gone!
Expected behavior
The pop-up to enter the adress should show up empty
Desktop:
- OS: Windows 10
- Browser: Chrome
- Version: 77
Thank you!
Metadata
Metadata
Assignees
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Block] ParagraphAffects the Paragraph BlockAffects the Paragraph Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended