diff --git a/root/admin/editor.gohtml b/root/admin/editor.gohtml
index fd218e5..7ecd39c 100644
--- a/root/admin/editor.gohtml
+++ b/root/admin/editor.gohtml
@@ -91,7 +91,8 @@ var ACE;
editor.setTheme("ace/theme/monokai");
var ses = editor.getSession();
ses.setTabSize(4);
- ses.setUseSoftTabs(true);
+ ses.setUseSoftTabs(false);
+ ses.setUseWrapMode(true);
// On save.
ses.on("change", function() {
diff --git a/root/blog/edit.gohtml b/root/blog/edit.gohtml
index 2ae8299..7987fac 100644
--- a/root/blog/edit.gohtml
+++ b/root/blog/edit.gohtml
@@ -174,7 +174,8 @@ var ACE;
editor.setTheme("ace/theme/monokai");
var ses = editor.getSession();
ses.setTabSize(4);
- ses.setUseSoftTabs(true);
+ ses.setUseSoftTabs(false);
+ ses.setUseWrapMode(true);
// On save.
ses.on("change", function() {