| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 424 |
| Technical Name |
web_widget_yaml |
| License | LGPL-3 |
| Website | https://github.com/chrisking94/odoo_addons/tree/main/web_widget_yaml |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 424 |
| Technical Name |
web_widget_yaml |
| License | LGPL-3 |
| Website | https://github.com/chrisking94/odoo_addons/tree/main/web_widget_yaml |
Web Widget YAML
Advanced YAML Editor with Customizable Ace Options
Tired of the rigid default code editors in Odoo? Web Widget YAML gives you full control. Easily edit configuration files, scripts, or data snippets with full syntax highlighting and custom UI settings.
Visual Editor Interface
Simple Implementation
Just add the widget to your field in any form view:
<field name="yaml_data"
widget="yaml"
options="{'fontSize': 14, 'minLines': 10}"/>
Advanced Configuration
This widget supports all standard Ace Editor options via the XML options attribute:
- theme: Visual style (e.g., 'ace/theme/monokai')
- fontSize: Text size in pixels (e.g., 14)
- minLines / maxLines: Dynamic height control
- showPrintMargin: Toggle vertical guide line
See the full list at the Official Ace Wiki.
Enjoying this Addon?
If you find this tool helpful, please support the project with a Star on GitHub!
Star on GitHub
Please log in to comment on this module