An open API service indexing awesome lists of open source software.

https://github.com/dynamia-projects/aceditor-zk

Ace Editor for ZK 8
https://github.com/dynamia-projects/aceditor-zk

ace-editor java javascript zk

Last synced: 5 months ago
JSON representation

Ace Editor for ZK 8

Awesome Lists containing this project

README

          

# ACE Editor for ZK is now part of DynamiaTools Framework https://github.com/dynamiatools/framework

[![Maven Central](https://img.shields.io/maven-central/v/tools.dynamia.zk.addons/aceditor-zk.svg?label=Maven%20Central)](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22tools.dynamia.zk.addons%22%20a%3A%22aceditor-zk%22)

# ACE Editor for ZK

This library let you use Ace Editor (https://ace.c9.io/) in ZK application using pure Java or ZUL.

## Bulding

This is a regular maven project, download and build it using the following command:

```bash
mvn clean install
```

## Installation

Just add **aceditor-zk-xx.jar** to your project dependencies:

**Maven**

```xml

tools.dynamia.zk.addons
aceditor-zk
1.4.4

```

**Gradle**
```bash
compile "tools.dynamia.zk.addons:aceditor-zk:1.4.4"
```

## Usage

From **zul**
```xml


Aceditor ace = new Aceditor();
ace.setTheme("ambiance");
ace.setWidth("500px");
ace.setHeight("400px");
ace.setMode("html");


```
Aceditor support ZK MVVM databinding and commands

From **Java**

```java
Aceditor ace = new Aceditor();
ace.setTheme("ambiance");
ace.setWidth("500px");
ace.setHeight("400px");
ace.setMode("html");
ace.setValue("

Hello ZK

");
```

## License

Aceditor-ZK is available under the [Apache 2 License](https://github.com/dynamia-projects/chartjs-zk/blob/master/LICENSE.md).

## Want contribute?
Please read [Contributing Guidelines](https://github.com/dynamia-projects/chartjs-zk/blob/master/CONTRIBUTING.md)