We are running into an error using the editor in a panel. After making a second change to content in an editor, this error is thrown:
Uncaught TypeError: Cannot use 'in' operator to search for 'getSelection' in undefined
We're using a template for the panel a with textarea with attribute data-role="editor" to instantiate the editor. We're using an observable with a hierarchical datasource bound to the panel.
Here is a stripped-down dojo to reproduce the error:
Have tried all solutions mentioned on previous similar tickets without success. We have also tried iframe vs inline editors.
Thanks in advance for help.