logo

/repo|v1.4.10

Class

new MarkdownEditor($el, eventManager, options)markdownEditor.jsline 21

Class MarkdownEditor

EXTENDS
  • CodeMirrorExt
PARAMETERS
NameTypeDescription

$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
NameTypeDescription

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
NameTypeDescription

markdown

string

Markdown syntax text

cursorToEnd

boolean = true

move cursor to contents end

Resizable