Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixins/menubar.js')
-rw-r--r--src/mixins/menubar.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mixins/menubar.js b/src/mixins/menubar.js
index 91a8eb6d0..e9bebe69f 100644
--- a/src/mixins/menubar.js
+++ b/src/mixins/menubar.js
@@ -138,7 +138,7 @@ export default [
class: 'icon-ul',
isActive: 'bulletList',
action: (command) => {
- return command.bulletListItem()
+ return command.toggleBulletList()
},
},
{
@@ -154,9 +154,8 @@ export default [
{
label: t('text', 'ToDo list'),
class: 'icon-checkmark',
- // Do we want to indicate that the current item is a todo item?
- // isActive: ['listItem', { type: 1 }],
- action: (command) => command.todo_item(),
+ isActive: 'taskList',
+ action: (command) => command.toggleTaskList(),
},
{
label: t('text', 'Blockquote'),