-
- Downloads
[FIX] website_form, *: allow to update buttons using link dialog
*: web_editor, website_mass_mailing When we double click a link/button, a link dialog appears to update the target properties, and since the current link dialog can only handle anchor targets, using it on buttons leads to some inconsistencies : - visible href options for button & url required to save changes. - missing preview when button style changed. ... The goal of this commit is to add a fix (with minimum of code) on summernote linkdialog to handle button elements using the same logic as anchor nodes. Also, update website form test tour to test those new changes. Part of https://github.com/odoo/odoo/pull/62206 task-2381305 X-original-commit: 19fbbdc0327482b5d70bdbcf17c2a5a950327d63
Showing
- addons/web_editor/static/lib/summernote/src/js/module/Editor.js 27 additions, 7 deletions.../web_editor/static/lib/summernote/src/js/module/Editor.js
- addons/web_editor/static/src/js/wysiwyg/widgets/link_dialog.js 13 additions, 7 deletions...s/web_editor/static/src/js/wysiwyg/widgets/link_dialog.js
- addons/web_editor/static/src/xml/wysiwyg.xml 2 additions, 2 deletionsaddons/web_editor/static/src/xml/wysiwyg.xml
- addons/website_form/static/tests/tours/website_form_editor.js 33 additions, 0 deletions...ns/website_form/static/tests/tours/website_form_editor.js
- addons/website_mass_mailing/views/snippets_templates.xml 2 additions, 2 deletionsaddons/website_mass_mailing/views/snippets_templates.xml
Loading
Please register or sign in to comment