Search 1.9 billion lines of Odoo code on GitHub

web_widget_text_ace

Author: Sudokeys,Odoo Community Association (OCA)
License: no license
Branch: web_widget_text_markdown_migrate_90
Repository: Sudokeys/web
Dependencies: base, web, and website

<a name="add-new-text-field-form-widget-ace"></a> <h2>Add new text field form widget: ACE</h2> <p>This module adds a new widget for text field in form view on Odoo:</p> <ul class="simple"> <li>enable <a class="reference external" href="https://ace.c9.io/">ace editor</a> in edit mode</li> </ul> <a name="requirements"></a> <h2>Requirements:</h2> <p>It was tested on Odoo 9.0 community and enterprise branch.</p> <a name="usage"></a> <h2>Usage</h2> <p>Your XML form view definition should contain:</p> <pre> <code>... &lt;field name=&quot;field_name&quot; widget=&quot;ace_editor&quot;/&gt; ...</code> </pre> <p>You can pass a set of options for theme and mode:</p> <pre> <code>... &lt;field name=&quot;field_name&quot; widget=&quot;ace_editor&quot; data-editor-mode=&quot;python&quot; data-editor-theme=&quot;chrome&quot;/&gt; ...</code> </pre> <a name="defaults"></a> <h3>Defaults:</h3> <ul class="simple"> <li>data-editor-mode: xml</li> <li>data-editor-theme: monokai</li> </ul> <a name="known-issues"></a> <h2>Known issues</h2> <ul class="simple"> <li>Need to reimport raphael.js because of the eve not found bug.</li> </ul> <a name="roadmap"></a> <h2>Roadmap</h2> <ul class="simple"> <li>enable auto_complete and snippet</li> <li>enable &#64;mention with openchatter</li> <li>add js tests</li> </ul> <a name="bug-tracker"></a> <h2>Bug Tracker</h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback <a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_widget_text_ace%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">here</a>.</p> <a name="credits"></a> <h2>Credits</h2> <a name="contributors"></a> <h3>Contributors</h3> <ul class="simple"> <li>Nicolas Jeudy (Sudokeys) &lt;<a class="reference external" href="https://www.github.com/njeudy">https://www.github.com/njeudy</a>&gt;</li> </ul> <a name="maintainer"></a> <h3>Maintainer</h3> <a class="reference external image-reference" href="http://odoo-community.org"><img alt="Odoo Community Association" src="http://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="http://odoo-community.org">http://odoo-community.org</a>.</p>