diff --git a/packages/app/constants/menu-contexts.js b/packages/app/constants/menu-contexts.js index 2649c9cd..e1cbc3ad 100755 --- a/packages/app/constants/menu-contexts.js +++ b/packages/app/constants/menu-contexts.js @@ -19,6 +19,16 @@ export default { }) } + items.push({ + label: "Paste", + icon: "Clipboard", + action: (clickedItem, ctx) => { + app.message.error("This action is not supported by your browser") + + ctx.close() + } + }) + items.push({ label: "Report a bug", icon: "AlertTriangle", @@ -104,33 +114,6 @@ export default { }) } - // check if parent has `self-post` attribute - const isSelf = parent.getAttribute("self-post").toBoolean() - - if (isSelf) { - items.push({ - type: "separator" - }) - - items.push({ - label: "Delete", - icon: "Trash", - action: () => { - app.eventBus.emit(`post.${parent.id}.delete`) - control.close() - } - }) - - items.push({ - label: "Edit", - icon: "Edit2", - action: () => { - app.eventBus.emit(`post.${parent.id}.edit`) - control.close() - } - }) - } - return items } } \ No newline at end of file