summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.backend.scss
diff options
context:
space:
mode:
authorSamuel Degueldre <sad@odoo.com>2020-03-31 11:47:54 +0000
committerSamuel Degueldre <sad@odoo.com>2020-04-03 07:21:20 +0000
commit0c9eb9e5c7fe260579aae1117a1d46eb75830e5a (patch)
tree77f2d1fa78a24d4089429c98f47f6bd1382d45bf /addons/web_editor/static/src/scss/web_editor.backend.scss
parent98161fc61ab4667d0333975b2639547ec8a031fd (diff)
[FIX] web_editor: fix dialogs (link, media, alt, crop) not opening
In 3f4092d837d50d25d6c9630d84f67545cf586c7a, the SummernoteManager that was previously owned by RTE was removed, this was because the wysiwyg already has one. One problem with this however is that when an editor is created in an iframe, the wysiwyg is instanciated outside, while the editor is instanciated inside. This means that they don't have the same core.bus to listen for and trigger events, such as those used to open the various editor dialogs. This commit fixes that by always using the top-level core.bus when opening dialogs. This also has the advantage that the dialogs are no longer confined to the iframe and can take up the whole screen, making them more comfortable to use. closes odoo/odoo#48932 X-original-commit: 68ac735aa7e17e66910f51706829035697dfcc1e Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.backend.scss')
-rw-r--r--addons/web_editor/static/src/scss/web_editor.backend.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.backend.scss b/addons/web_editor/static/src/scss/web_editor.backend.scss
index 385bb370fd7..c0355ff6d9c 100644
--- a/addons/web_editor/static/src/scss/web_editor.backend.scss
+++ b/addons/web_editor/static/src/scss/web_editor.backend.scss
@@ -72,7 +72,7 @@
z-index: 1001 !important;
border: 0;
}
- * {
+ > :not(.modal):not(.modal-backdrop) {
display: none;
}
.o_form_fullscreen_ancestor {