Commit ff9c905a authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Make Markdown editor height work as before.

Expanding when more lines added.

Additionally remove enterMode config, which is no more supported,
but the existance of which doesn't seem to make a difference.
parent cc34ad36
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -472,7 +472,6 @@ Ext.define('Docs.view.Comments', {

    makeCodeMirror: function(textarea, form) {
        textarea.editor = CodeMirror.fromTextArea(textarea, {
            enterMode: "keep",
            mode: 'markdown',
            lineWrapping: true,
            indentUnit: 4
+1 −0
Original line number Diff line number Diff line
@@ -130,6 +130,7 @@
      border: auto; }
    .CodeMirror .CodeMirror-scroll,
    textarea {
      height: auto;
      min-height: 8em; }
    input.sub {
      @include green-button();