mode
and lint
extension for CodeMirror with a custom WYSIWYG toolbar and application frame.funnelql-editor+codemirror.js
and a extension-only file funnelql-editor.js
.lib/codemirror.js
and addon/lint/lint.js
from the CodeMirror package that can be installed using NPM:<textarea>
. The FunnelQL Javascript library should be loaded before a FunnelQL editor is instantiated.FunnelQLEditor
with as first parameter a string ID reference or HTML element of a <textarea>
and optionally a second parameter with CodeMirror Options.FunnelQLEditor
constructor returns a CodeMirror editor object enhanced with additional API methods.parse