Update CodeMirror options

This commit is contained in:
Giuseppe Criscione 2019-06-07 10:11:02 +02:00
parent f5c18254c6
commit f7c86681b9
3 changed files with 3 additions and 3 deletions

View File

@ -150,8 +150,8 @@ Formwork.Editor = function (id) {
var editor = CodeMirror.fromTextArea(textarea, {
mode: 'markdown',
theme: 'formwork',
indentUnit: 4,
lineWrapping: true,
highlightFormatting: true,
addModeClass: true,
extraKeys: {'Enter': 'newlineAndIndentContinueMarkdownList'}
});

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@ Formwork.Editor = function (id) {
var editor = CodeMirror.fromTextArea(textarea, {
mode: 'markdown',
theme: 'formwork',
indentUnit: 4,
lineWrapping: true,
highlightFormatting: true,
addModeClass: true,
extraKeys: {'Enter': 'newlineAndIndentContinueMarkdownList'}
});