WwTaskManager

WwTaskManager

Constructor

new WwTaskManager(wwe)

Parameters:
Name Type Description
wwe WysiwygEditor

WysiwygEditor instance

Members

static this.name :string

Name property

Methods

formatTask(node)

formatTask
Format task

Parameters:
Name Type Description
node Node

target

isInTaskList(range) → {boolean}

isInTaskList
Check whether passed range is in task list or not

Parameters:
Name Type Description
range Range

range

Returns:
boolean -

result

unformatTask(node)

unformatTask
Unforamt task

Parameters:
Name Type Description
node Node

target