aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/edit.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/edit.js b/src/edit.js
index 6843fff..da5e79d 100644
--- a/src/edit.js
+++ b/src/edit.js
@@ -28,6 +28,7 @@ window.onload = () => {
CodeMirror.fromTextArea(document.getElementById('editmain'), {
mode: 'markdown',
lineNumbers: true,
+ lineWrapping: true,
}),
CodeMirror.fromTextArea(document.getElementById('editcss'), {
mode: 'css',
@@ -36,18 +37,22 @@ window.onload = () => {
CodeMirror.fromTextArea(document.getElementById('editheader'), {
mode: 'markdown',
lineNumbers: true,
+ lineWrapping: true,
}),
CodeMirror.fromTextArea(document.getElementById('editnav'), {
mode: 'markdown',
lineNumbers: true,
+ lineWrapping: true,
}),
CodeMirror.fromTextArea(document.getElementById('editaside'), {
mode: 'markdown',
lineNumbers: true,
+ lineWrapping: true,
}),
CodeMirror.fromTextArea(document.getElementById('editfooter'), {
mode: 'markdown',
lineNumbers: true,
+ lineWrapping: true,
}),
CodeMirror.fromTextArea(document.getElementById('editbody'), {
mode: 'htmlmixed',