I am trying to use the 3rd party rich text editor Quill but it seems no implementation will work. After instantiating Quill on one of our elements the editor loads up and looks correct. However, as soon as you start typing there are errors galore.
The biggest issue seems to come from
document.getSelection() to let Quill know what is selected. Upon much debugging,
document.getSelection() gets proxied and removes the necessary nodes to read but WHY?! Upon inspecting the nodes they are all in the same Secure namespace but still, the object returned has a stripped down version of the actual object that should be returned.
Can someone please help me understand why this is happening and how to potentially fix this?