truonglv
Well-known member
- Affected version
- 2.2.0 Beta 1
In our add-on it's use this method
XF.focusEditor()
then got these errors:
Code:
Uncaught TypeError: Cannot read property 'inEditor' of undefined
at Object.restoreMaintainedSelection (editor.js?_v=a7fbff69:1883)
at Object.focus (editor.js?_v=a7fbff69:1902)
at fn.focus (editor.js?_v=a7fbff69:668)
at fn.scrollToCursor (editor.js?_v=a7fbff69:1354)
at Object.focusEditor (core.js?_v=a7fbff69:2902)
at devjs.php?addon_id=Truonglv%2FPostReply&js=Truonglv%2FPostReply%2Fpost_reply.js:93
at core.js?_v=a7fbff69:2324
at Object.load (core.js?_v=a7fbff69:4553)
at Object.setupHtmlInsert (core.js?_v=a7fbff69:2221)
at devjs.php?addon_id=Truonglv%2FPostReply&js=Truonglv%2FPostReply%2Fpost_reply.js:76