Commit 7d2afc63 authored by walper's avatar walper

[FIX] Fixed Codemirror to not show empty lines at the bottom and a scrollbar when using pluginCode.

parent 0e38284b
......@@ -378,13 +378,11 @@ syntaxHighlighter = {
.css('padding', '0px');
// Only size the scrollbar - not the children!
if (settings.height) {
if (settings.width) {
//design has a max-width set, and we really shouldn't override that if possible, so account for that when setting width
var scroller = $(editor.getScrollerElement());
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