tower-editor-directive

Question. How do you go about converting libraries like the ace editor (which has dozens of themes/extensions) to component?

npm install tower-editor-directive
4 downloads in the last month

Ace Editor Directive

Question. How do you go about converting libraries like the ace editor (which has dozens of themes/extensions) to component?

Installation

browser:

$ component install tower/editor-directive
$ git clone https://github.com/ajaxorg/ace-builds build/ace

Then put ace script tags into the DOM:

<script src="./build/ace/ace.js"></script>
<script src="./build/ace/mode-javascript.js"></script>

Example

var editor = require('tower-editor-directive');

Notes

Licence

MIT

npm loves you