Skip to content

Shpionus/ace_editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ace Editor

Module for Opener ERP

This Module adds a new widget "ace_editor" which allow you edit text with Ace editor. Ace is a embeddable code editor written in JavaScript.

You can use this editor inside ERP. Just use widget "ace_editor" for field what you want to edit.

Settings:

You can specify default theme, mode and keyboard for field. F.ex. if you want write python code, use "monokai" theme and "vim" keyboard then just add following attributes to your field:

<field name="you_field" widget="ace_editor" attrs="{'editor_modifiers': {'mode': 'python', 'theme': 'monokai', 'keyboard': 'vim'}}"/>

But you can change this and even much more other settings in any time. Just press "Ctrl-," (Windows/Linux) or "Command-," (Mac) and configure the editor for yourself. (Default Keyboard Shortcuts)

About

Open ERP module adds ace_editor widget

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published