WwTaskManager(wwe)

Class WwTaskManager

new WwTaskManager(wwe)

Creates an instance of WwTaskManager.

Parameters:
Name Type Description
wwe WysiwygEditor

WysiwygEditor instance

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