Commit 28b194d8 authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon

Widen block configs so TinyMCE won't wrap

Bug 1381715

Change-Id: I30fed711addac13be086eee08228fd4057204f8d
parent 16997328
......@@ -1358,7 +1358,7 @@
}
var h = Math.max(d.h, 200);
var w = Math.max(d.w, 500);
var w = Math.max(d.w, 625);
if (config.blockeditormaxwidth && block.find('textarea.wysiwyg').length) {
w = vpdim.w - 80;
style.height = h + 'px';
......@@ -1493,7 +1493,7 @@ function blockConfigError(form, data) {
function updateBlockConfigWidth(configblock, width) {
var vpdim = getViewportDimensions();
var w = Math.max(width, 500);
var w = Math.max(width, 625);
var style = {
'position': 'absolute',
'z-index': 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment