module

Ace library

Endorsements
0
Installs
7.78%
Comments
0
Latest version1.2.0
Minimum Core0.7.9
Compatible Core0.8.5
Last updated1 week ago
Created1 month ago
Authors
Languages English
French
Systems All systems
Project source Project URL
Report bugs Bug tracker URL
Read-me Readme URL
Changelog Changelog URL
License License URL

Version Latest Release Download Count Foundry Core Compatible Version

A library module for using the Ace editor in Foundry VTT.

To easily add an Ace editor, you can create a <div> and use ace.edit to initialize.

let editor = ace.edit("the-id-of-the-div");

This will set the Ace options to the ones that the user has configured in module settings.

editor.setOptions(ace.userSettings);

Set the editor's contents

editor.setValue("initial value");

Get the editor's contents

editor.getValue();

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x