[FIX] bootstrap makes buttons unselectable, which breaks RTE. Revert behavior when button in section being edited
bzr revid: xmo@openerp.com-20130906101658-m35uqghtvi3kd7bc
This commit is contained in:
@@ -90,6 +90,15 @@ table.editorbar-panel td.selected {
|
||||
background-color: #b1c9d9;
|
||||
}
|
||||
|
||||
/* ---- RTE ---- */
|
||||
.oe_editable .btn {
|
||||
-webkit-user-select: auto;
|
||||
-moz-user-select: auto;
|
||||
-ms-user-select: auto;
|
||||
-o-user-select: auto;
|
||||
user-select: auto;
|
||||
}
|
||||
|
||||
/* ---- SNIPPET EDITOR ---- */
|
||||
.oe_snippets {
|
||||
position: fixed;
|
||||
|
||||
@@ -80,6 +80,17 @@ table.editorbar-panel
|
||||
td.selected
|
||||
background-color: #b1c9d9
|
||||
|
||||
/* ---- RTE ---- */
|
||||
|
||||
// bootstrap makes .btn elements unselectable -> RTE double-click can't know
|
||||
// about them either
|
||||
.oe_editable .btn
|
||||
-webkit-user-select: auto
|
||||
-moz-user-select: auto
|
||||
-ms-user-select: auto
|
||||
-o-user-select: auto
|
||||
user-select: auto
|
||||
|
||||
/* ---- SNIPPET EDITOR ---- */
|
||||
|
||||
.oe_snippets
|
||||
|
||||
Reference in New Issue
Block a user