fix: Paste is one button, and its menu always opens
Split in two, its command half pasted straight from the clipboard and only the caret offered the plain-text variant. The whole button now opens the menu, whose first entry is that same straight paste.
This commit is contained in:
1 parent
fb400798d1
commit
7a17fc7995
1 file changed
+2
-3
@@ -191,9 +191,8 @@
|
||||
title={`${t().contextMenu.paste} (${withShortcut('Ctrl+V')})`}
|
||||
disabled={!editor}
|
||||
caret
|
||||
caretActive={isMenuOpen('paste')}
|
||||
onclick={() => paste(false)}
|
||||
onCaret={() => toggleMenu('paste')}
|
||||
active={isMenuOpen('paste')}
|
||||
onclick={() => toggleMenu('paste')}
|
||||
/>
|
||||
{#if isMenuOpen('paste')}
|
||||
<!-- Word offers a third, Merge Formatting. The engine reads the clipboard
|
||||
|
||||
Reference in new issue
Block a user