Monday, September 21, 2020

Cannot read property 'inEditor' of undefined

In our add-on it's use this method XF.focusEditor() then got these errors:

Code:

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...
...

Read more


source https://xfworld.net/threads/cannot-read-property-ineditor-of-undefined.47913/

No comments:

Post a Comment