A highly configurable and flexible ACE editor input field for ProcessWire
Version 1.0.3
1.0.3
A highly configurable and flexible Ace editor input field for ProcessWire 2.5.5+ and 3.0.0+
2.5.5+
3.0.0+
This module is sponsored in part by Nibiri, aka forum member Macrura.
See this short Screencast to get an overview.
$ace = $modules->get('InputfieldAceExtended'); $ace->label = 'An Ace Field'; $ace->name = 'ace'; $ace->value = json_encode($someArray, JSON_PRETTY_PRINT); $ace->collapsed = Inputfield::collapsedYes; $ace->rows = 10; $ace->enableLocalStorage = false; $ace->mode = 'json'; $ace->optionsCollapsed = Inputfield::collapsedHidden; $ace->theme = 'tomorrow'; $ace->setAdvancedOptions(array( 'highlightActiveLine' => false, 'showLineNumbers' => false, 'showGutter' => false, 'tabSize' => 2, 'printMarginColumn' => false, )); $ace->setExtensionOptions(array( 'enableEmmet' => true ));
1.1.3
$textarea.getAce()
1.0.0
0.5.0
API
editor.renderer.lineHeight
localStorage
advancedOptions
0.4.0
editor
session
0.3.0
0.2.0
0.1.0
All modules by Horst Nogajski
Install and use modules at your own risk. Always have a site and database backup before installing new modules.