mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 04:37:44 +02:00
UBERF-5679 Add todo list to ListKeymap config (#4751)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -68,7 +68,22 @@ export const EditorKit = Extension.create<EditorKitOptions>({
|
||||
}),
|
||||
CodemarkExtension,
|
||||
Underline,
|
||||
ListKeymap,
|
||||
ListKeymap.configure({
|
||||
listTypes: [
|
||||
{
|
||||
itemName: 'listItem',
|
||||
wrapperNames: ['bulletList', 'orderedList']
|
||||
},
|
||||
{
|
||||
itemName: 'taskItem',
|
||||
wrapperNames: ['taskList']
|
||||
},
|
||||
{
|
||||
itemName: 'todoItem',
|
||||
wrapperNames: ['todoList']
|
||||
}
|
||||
]
|
||||
}),
|
||||
NodeUuidExtension,
|
||||
...tableExtensions
|
||||
// ...taskListExtensions // Disable since tasks are not working properly now.
|
||||
|
||||
Reference in New Issue
Block a user