new MarkdownEditor($el, eventManager, options)markdownEditor.jsline 21
Class MarkdownEditor
EXTENDS
- CodeMirrorExt
PARAMETERS
Name Type Description $el
jQuery
container jquery element
eventManager
EventManager
event manager
options
Object
options of editor
Instance Methods
getTextObject(range)markdownEditor.jsline 181
Get text object of current range
PARAMETERS
Name Type Description range
Object
Range object of each editor
RETURNS:
{MdTextObject
}
resetState()markdownEditor.jsline 231
latestState reset
overridesetValue(markdown, cursorToEnd)markdownEditor.jsline 171
Set Editor value
PARAMETERS
Name Type Description markdown
string
Markdown syntax text
cursorToEnd
boolean = true
move cursor to contents end