gluonhq / rich-text-area

GNU General Public License v3.0
114 stars 16 forks source link

Gluon

Build Maven Central License javadoc

The Rich Text Area Project

Gluon presents a new JavaFX control, created with Java and JavaFX standard APIs, called the RichTextArea control. RichTextArea is a text input control which provides rich text features along with emoji, and non-text objects like images, tables and hyperlinks.

Rich Text Area control

Based on the combination of VirtualFlow and multiple TextFlow controls, the RichTextArea control has features like:

rta_editor.png

License

The RichTextArea control is available for free under the GPLv3 license. If you create an Open Source application, you can use our software for free. Contact us for more information on commercial usage of the RichTextArea.

Usage

To use the RichTextArea control in your project add the following dependency:

<dependency>
    <groupId>com.gluonhq</groupId>
    <artifactId>rich-text-area</artifactId>
    <version>1.2.0</version>
</dependency>

and then simply create an instance and add it to your JavaFX application:

@Override
public void start(Stage stage) {
    RichTextArea editor = new RichTextArea();
    BorderPane root = new BorderPane(editor);
    Scene scene = new Scene(root, 800, 600);
    stage.setScene(scene);
    stage.show();
}

Samples

Multiple samples, from basic to full-featured can be found in the samples folder.

Issues and Contributions

Issues can be reported to the Issue tracker

Contributions can be submitted via Pull requests, providing you have signed the Gluon Individual Contributor License Agreement (CLA).

Follow contributing rules for this repository.

Design Notes

See documentation for more information.