Skip to content

Commit

Permalink
fix: prioritize emoji and callout
Browse files Browse the repository at this point in the history
They cannot be shown in the menu with the remaining tools.

Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed Apr 19, 2022
1 parent 2442970 commit 75f23a1
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions js/editor-rich.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor-rich.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/mixins/menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default [
keyModifiers: ['ctrl'],
class: 'icon-undo',
action: (command) => command.undo(),
priority: 3,
priority: 5,
},
{
label: t('text', 'Redo'),
Expand All @@ -46,7 +46,7 @@ export default [
action: (command) => {
return command.toggleBold()
},
priority: 4,
priority: 6,
},
{
label: t('text', 'Italic'),
Expand Down Expand Up @@ -215,7 +215,7 @@ export default [
},
},
],
priority: 5,
priority: 3,
},
{
label: t('text', 'Code block'),
Expand All @@ -241,7 +241,7 @@ export default [
action: (command, emojiObject) => {
return command.emoji(emojiObject)
},
priority: 6,
priority: 4,
},
{
label: t('text', 'Insert image'),
Expand Down

0 comments on commit 75f23a1

Please sign in to comment.