mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-24 09:42:43 +01:00
Update CodeMirror options
This commit is contained in:
parent
f5c18254c6
commit
f7c86681b9
@ -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'}
|
||||
});
|
||||
|
2
admin/assets/js/app.min.js
vendored
2
admin/assets/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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'}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user