When we try to add a caption to an image, an error occurs:
Uncaught TypeError: Cannot read properties of null (reading 'firstChild').
Popup window does not disappear, focus does not set to caption.
If click several times to "Image caption", the image will wrap several times in a div tag.
Expected behavior.
Usual behavior, like on: https://froala.com/demo-editor-new/
Actual behavior.
When we try to add a caption to an image, an error occurs:
Uncaught TypeError: Cannot read properties of null (reading 'firstChild')
. Popup window does not disappear, focus does not set to caption. If click several times to "Image caption", the image will wrap several times in a div tag.Steps to reproduce the problem.
Editor version.
4.0.18
OS.
Ubuntu 22.04
Browser.
Chrome 111
Recording.
add_caption.webm