Bug 1254025 - Force the CodeMirror editor to always use a textarea. r=jdescottes a=ritu

By default it switches to a contentEditable when a custom UA is applied, which
causes errors when trying to insert a controller.

MozReview-Commit-ID: AdRUpO3NHNF
This commit is contained in:
Brian Grinstead 2016-04-26 07:00:53 -07:00
parent 11b880f31f
commit 8c7006d808

View File

@ -159,6 +159,7 @@ function Editor(config) {
matchBrackets: true,
extraKeys: {},
indentWithTabs: useTabs,
inputStyle: "textarea",
styleActiveLine: true,
autoCloseBrackets: "()[]{}''\"\"``",
autoCloseEnabled: useAutoClose,