Re: Problems with several instances of xxeclient in same page [FOLLOW-UP]
Hussein Shafie <[email protected]> Fri, 21 Nov 2025 11:40:59 +0100
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
Carlos Villegas wrote: > We use the React web framework for our application, but I think this applies to other frameworks as well.. There are many web frameworks these days. Most of the time you use them in a single page web application model. So you will have the same issues in any framework if you want to have several instances of the XML Editor running in your single-page application. We implemented the actual wrapper hosting the shadowRoot in plain javascript similar to the code in the xxe-client. We then created a React component on top of that to integrate it with the rest of our application. > > We have only tested these shadowRoot changes on Chrome so far, which is what we support for our own customers. We run our App on Chrome on MacOS, Windows and Linux. > According to documentation online about the shadowRoot.getSelection API, it is not supported in all browsers, but there are alternative ways to do the same thing, so we understand. We'll do testing on other browsers and report. Thank you very much for all this useful information. On our side, We'll *try* to migrate xxe-client to ShadowRoot in the near future (because it's obviously the "cleanest" way to implement it). -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support