summaryrefslogtreecommitdiff
path: root/addons/website/static/src/css/editor.sass
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-10-14 13:26:44 +0200
committerXavier Morel <xmo@openerp.com>2013-10-14 13:26:44 +0200
commita3c11bedb8148be6e35291d6955994943cc95f71 (patch)
treecfcd3abfb6c661b77eb970ce61840bb272fb0723 /addons/website/static/src/css/editor.sass
parentc81bf938cf5c03901f9019feb5bc01a460792d02 (diff)
[IMP] mitigate disappearance of empty inline cke widgets
bzr revid: xmo@openerp.com-20131014112644-f95lqkr6j2nlm98a
Diffstat (limited to 'addons/website/static/src/css/editor.sass')
-rw-r--r--addons/website/static/src/css/editor.sass5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/website/static/src/css/editor.sass b/addons/website/static/src/css/editor.sass
index 51bae3dcf3a..1ef6d67bb49 100644
--- a/addons/website/static/src/css/editor.sass
+++ b/addons/website/static/src/css/editor.sass
@@ -145,6 +145,11 @@ table.editorbar-panel
// "remove" drag & drop of CKE widgets
.cke_widget_drag_handler_container
display: none !important
+// prevent inline widgets from entirely disappearing when their (textual)
+// content is removed
+.cke_widget_editable:empty:after
+ content: " "
+ white-space: pre-wrap
/* ---- SNIPPET EDITOR ---- */