fix: Fixed issue where toggling a link from Super mobile toolbar didn't work

This commit is contained in:
Aman Harwara
2023-02-06 13:32:14 +05:30
parent 9808262e9e
commit cfc6022fbb

View File

@@ -108,7 +108,11 @@ const MobileToolbarPlugin = () => {
{ {
name: 'Link', name: 'Link',
iconName: 'link', iconName: 'link',
onSelect: insertLink, onSelect: () => {
editor.update(() => {
insertLink()
})
},
}, },
{ {
name: 'Search', name: 'Search',