diff options
| author | Gorash <chm@odoo.com> | 2019-08-20 07:41:18 +0000 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2019-08-21 19:11:31 +0000 |
| commit | 912996fe902c41cafa12dcfe09713ce9857f95ab (patch) | |
| tree | ffb9ee4bafdf92bbbf389c38a54c327981be3f32 /addons/web_editor/static/src/xml/backend.xml | |
| parent | 35b61822a8b12ebbdb455495479df6f2e13db03e (diff) | |
[REF] web_editor, website: adapt wysiwyg to 12.0 editor
The wysiwyg abstraction layer was introduced in saas-12.2 by
commit f2969923. Its goal was to provide an external interface
for other modules that wanted to use the editor feature such
that the editor core itself could be changed without requiring
extensive changes in the other modules.
This commit is adapting the wysiwyg interface to instantiate
the 12.0 editor below it rather than the saas-12.2 one, thus
reverting the "new editor" part of f2969923 itself.
Part of PR 35677.
Co-authored-by: Nicolas Bayet <nby@odoo.com>
Co-authored-by: Antoine Guenet <age@odoo.com>
Co-authored-by: Christophe Matthieu <chm@odoo.com>
Co-authored-by: David Monjoie <dmo@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/xml/backend.xml')
| -rw-r--r-- | addons/web_editor/static/src/xml/backend.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/xml/backend.xml b/addons/web_editor/static/src/xml/backend.xml index 904f21f440c..c79ee939283 100644 --- a/addons/web_editor/static/src/xml/backend.xml +++ b/addons/web_editor/static/src/xml/backend.xml @@ -9,4 +9,12 @@ </div> </t> + <t t-name="web_editor.FieldTextHtml.fullscreen"> + <span style="margin: 5px; position: fixed; top: 0; right: 0; z-index: 2000;"> + <button class="o_fullscreen btn btn-primary" style="width: 24px; height: 24px; background-color: #337ab7; border: 1px solid #2e6da4; border-radius: 4px; padding: 0; position: relative;"> + <img src="/web_editor/font_to_img/61541/rgb(255,255,255)/16" style="position: absolute; top: 3px; left: 4px;" alt="Fullscreen"/> + </button> + </span> + </t> + </templates> |
