Re: web edition extensions
Hussein Shafie <[email protected]> Tue, 26 Nov 2024 10:49:16 +0100
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Before_setReadOnly.png
(image/png, 192.8 KB) - not displayed
After_setReadOnly.png
(image/png, 175.7 KB) - not displayed