editor.wordRegex is now a config option.

This commit is contained in:
Corey Johnson & Kevin Sawicki
2013-01-28 12:00:12 -08:00
committed by Corey Johnson
parent 1303e58a87
commit 1d2fa089e5
2 changed files with 3 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ class Editor extends View
autosave: false
autoIndent: true
autoIndentOnPaste: false
wordRegex: /(\w+)|([^\w\n]+)/g
@content: (params) ->
@div class: @classes(params), tabindex: -1, =>