Great! I think this will be enough for my prototype application. But in the general case, I would need some interactive functionality on the client side. Is there a way to provide access to the document element tree and receive document element events on the Javascript side? Or some way for the client to communicate with a custom Java extension in the backend? If not now, is this or something similar planned for the future?
Thanks, Carlos On Tue, Nov 26, 2024 at 6:49 PM Hussein Shafie <huss...@xmlmind.com> wrote: > On 11/25/24 17:17, Carlos Villegas wrote: > > So far I've been able to integrate the web edition with our React > > application using a simple addon with CSS and the hooks provided by the > > Web editions's Javascript API. > > Great! > > > > > How about the Java stylesheet extensions on the backend side, like doing > > some smart styling in an extension, will that work if I set CSS styles > > that I know work in the web edition? > > Depends on the extension. > > - component, > https://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/component.html: > > --> NOT SUPPORTED > > - gadget, > https://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/gadget.html: > > --> NOT SUPPORTED > > - "Using custom code to extend the CSS style sheet", > https://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/extend_css.html, > > for example: > > --- > @extension "com.xmlmind.xmleditext.docbook.TableSupport true"; > --- > > or: > > --- > from:before { > content: invoke("localize", "From:"); > } > --- > > --> YES! SUPPORTED > > > > > How about setting an element to > > readonly by setting the appropriate property in the Java extension? > > > No problem. See attached screenshots: before and after using command > setReadOnly, > > > >
-- XMLmind XML Editor Support List xmleditor-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xmleditor-support