This library let you use Ace Editor (https://ace.c9.io/) in ZK application using pure Java or ZUL.
This is a regular maven project, download and build it using the following command:
mvn clean install
Just add aceditor-zk-xx.jar to your project dependencies:
Maven
<dependency>
<groupId>tools.dynamia.zk.addons</groupId>
<artifactId>aceditor-zk</artifactId>
<version>1.0.0</version>
</dependency>
Gradle
compile "tools.dynamia.zk.addons:aceditor-zk:1.0.0"
From zul
<aceditor mode="java" width="700px" height="400px" theme="ambiance">
<attribute name="value">
Aceditor ace = new Aceditor();
ace.setTheme("ambiance");
ace.setWidth("500px");
ace.setHeight("400px");
ace.setMode("html");
</attribute>
</aceditor>
Aceditor support ZK MVVM databinding and commands
From Java
Aceditor ace = new Aceditor();
ace.setTheme("ambiance");
ace.setWidth("500px");
ace.setHeight("400px");
ace.setMode("html");
ace.setValue("<h1>Hello ZK</h1>");
Aceditor-ZK is available under the Apache 2 License.
Please read Contributing Guidelines