Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.1.2
-
None
Description
Steps to reproduce
- Open any RichText field in Online Editor
- Remove all the field content
- Insert any custom tag
- Make sure there are no empty paragraphs before and after the inserted custom tag
- Edit the custom tag
- Insert a "test" text
- Make the inserted text a link
- Chose any location for the link
- Click the "Save" link button
Expected result
The link within the custom tag is updated.
Actual result
The link is updated, but Online Editor breaks because of the following JavaScript error:
react-dom.production.min.js:61 Uncaught TypeError: Cannot read property 'lastElement' of null
PR is coming