tinymce-ace-plugin

4.0.0 • Public • Published

TinyMCE Ace Editor Plugin

Ace Editor plugin for TinyMCE 4.0

How to use:

  • Install and load Ace Editor
  • Copy ace (or ace_beautify) folder to TinyMCE plugins
  • Add to list of plugins where tinymce is called

Example usage:

tinymce.init({
    selector: "textarea",
    plugins: [
        "advlist autolink lists link image charmap print preview anchor",
        "searchreplace visualblocks code fullscreen",
        "insertdatetime media table contextmenu paste code ace"
    ],
    toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image ace"
});

Non-minified version included with some comments. Edit this to alter the Ace Editor options and save to plugin.min.js.

I have included a version that works with the fantastic JS Beautifier, just use ace_beautify instead.

Package Sidebar

Install

npm i tinymce-ace-plugin

Weekly Downloads

3

Version

4.0.0

License

GPL-2.0

Last publish

Collaborators

  • kluev.andrew