Merge branch 'v8/8.2' into v8/dev

This commit is contained in:
Bjarke Berg
2019-09-26 15:30:51 +02:00
3 changed files with 18 additions and 11 deletions

View File

@@ -1172,7 +1172,6 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
var tinyMceRect = editor.editorContainer.getBoundingClientRect();
var tinyMceTop = tinyMceRect.top;
var tinyMceBottom = tinyMceRect.bottom;
var tinyMceWidth = tinyMceRect.width;
var tinyMceEditArea = tinyMce.find(".mce-edit-area");
@@ -1184,15 +1183,13 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
.css("visibility", "visible")
.css("position", "fixed")
.css("top", "177px")
.css("margin-top", "0")
.css("width", tinyMceWidth);
.css("margin-top", "0");
} else {
toolbar
.css("visibility", "visible")
.css("position", "absolute")
.css("top", "auto")
.css("margin-top", "0")
.css("width", tinyMceWidth);
.css("margin-top", "0");
}
},

View File

@@ -657,6 +657,8 @@
// had to overwrite defaults from TinyMCE, needed for buttons panel to float to new line in narrow space.
.umb-grid .mce-container > div {
white-space: normal;
left:0;
right:0;
}