feat: implement image embeds
This commit is contained in:
parent
b6b8d10d29
commit
015b23f4e5
3 changed files with 81 additions and 2 deletions
1
app.vue
1
app.vue
|
@ -14,6 +14,7 @@ const banner = useState("banner", () => false);
|
|||
onMounted(() => {
|
||||
document.removeEventListener("contextmenu", contextMenuHandler);
|
||||
document.addEventListener("contextmenu", (e) => {
|
||||
if (e.target instanceof Element && e.target.classList.contains("default-contextmenu")) return;
|
||||
contextMenuHandler(e);
|
||||
});
|
||||
document.addEventListener("mousedown", (e) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue