Tweak UI
This commit is contained in:
parent
9cab2cd940
commit
ccf063709e
5 changed files with 8 additions and 6 deletions
|
|
@ -313,7 +313,7 @@ export default defineComponent({
|
|||
}
|
||||
};
|
||||
if (isLink(e.target)) return;
|
||||
if (['INPUT', 'TEXTAREA'].includes(e.target.tagName) || e.target.attributes['contenteditable']) return;
|
||||
if (['INPUT', 'TEXTAREA', 'IMG'].includes(e.target.tagName) || e.target.attributes['contenteditable']) return;
|
||||
if (window.getSelection().toString() !== '') return;
|
||||
const path = this.$route.path;
|
||||
os.contextMenu([{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue