Froala is crashing
Crashing while calling editor.events.focus() in froalaEditor.initialized callback
Steps to reproduce the problem.
Initialize a froala Instance in an iframe in react using react-froala-wysiwyg:2.8.4
Call editor.events.focus() in froalaEditor.initialized callback
Editor version.
2.8.4
OS.
Ubuntu
Browser.
Firefox 67.0.3 (64-bit)
Recording.
raw TypeError: "a is null"
i froala_editor.pkgd.min.js:7
n froala_editor.pkgd.min.js:7
froalaEditorInitialized caption.js:103
jQuery 4
u froala_editor.pkgd.min.js:7
s froala_editor.pkgd.min.js:7
jQuery 8
t froala_editor.pkgd.min.js:7
proxy jQuery
n froala_editor.pkgd.min.js:7
proxy jQuery
_init froala_editor.pkgd.min.js:7
s froala_editor.pkgd.min.js:7
froalaEditor froala_editor.pkgd.min.js:7
jQuery 2
froalaEditor froala_editor.pkgd.min.js:7
value index.js:1
value index.js:1
React 14
Redux 4
proxiedMethod createPrototypeProxy.js:44
This leads to call in our code, where editor.events.focus() is called
Expected behavior.
Editor should load without crashing
Actual behavior.
Froala is crashing Crashing while calling editor.events.focus() in froalaEditor.initialized callback
Steps to reproduce the problem.
Initialize a froala Instance in an iframe in react using react-froala-wysiwyg:2.8.4 Call editor.events.focus() in froalaEditor.initialized callback
Editor version.
2.8.4
OS.
Ubuntu
Browser.
Firefox 67.0.3 (64-bit)
Recording.
This leads to call in our code, where editor.events.focus() is called