diff --git a/README.md b/README.md
index 22fc634..4d3535d 100644
--- a/README.md
+++ b/README.md
@@ -53,9 +53,6 @@ And the linked sub-notes will also be updated automatically!
- Heading mark
-- Copy annotation image to clipboard(Windows only)
-
-
- Cite Items
- Image resizing(comming soon)
diff --git a/image/README/copyimage.png b/image/README/copyimage.png
deleted file mode 100644
index 09cc994..0000000
Binary files a/image/README/copyimage.png and /dev/null differ
diff --git a/src/events.ts b/src/events.ts
index fcfbc77..0ad1a13 100644
--- a/src/events.ts
+++ b/src/events.ts
@@ -2052,17 +2052,6 @@ class AddonEvents extends AddonBase {
annotationItem.annotationComment ? annotationItem.annotationComment : ""
}\nnote link: "${this._Addon.knowledge.getNoteLink(note)}"`;
await annotationItem.saveTx();
- } else if (message.type === "copyImageAnnotation") {
- /*
- message.content = {
- params: { src: string }
- }
- */
- new CopyHelper().addImage(message.content.params.src).copy();
- this._Addon.views.showProgressWindow(
- "Better Notes",
- "Image copied to clipboard."
- );
} else if (message.type === "setOCREngine") {
/*
message.content = {
diff --git a/src/views.ts b/src/views.ts
index c5a656d..1b537d1 100644
--- a/src/views.ts
+++ b/src/views.ts
@@ -23,7 +23,6 @@ class AddonViews extends AddonBase {
isMainKnowledge: ``,
openAttachment: ``,
addAnnotationNote: ``,
- copyImageAnnotation: ``,
switchEditor: ``,
export: ``,
close: ``,
@@ -637,36 +636,6 @@ class AddonViews extends AddonBase {
}
);
moreButton.before(addAnnotationNoteButton);
- if (annotationItem.annotationType === "image" && Zotero.isWin) {
- // Customize image copy
- const copyImageButton = _document.createElement("div");
- copyImageButton.setAttribute("style", "margin: 5px;");
- copyImageButton.title = "Copy Image";
- copyImageButton.innerHTML = this.editorIcon["copyImageAnnotation"];
- copyImageButton.addEventListener("click", (e) => {
- this._Addon.events.onEditorEvent(
- new EditorMessage("copyImageAnnotation", {
- params: {
- src: (
- copyImageButton.parentElement.parentElement
- .nextSibling as HTMLImageElement
- ).src,
- },
- })
- );
- e.preventDefault();
- });
- copyImageButton.addEventListener("mouseover", (e: XUL.XULEvent) => {
- copyImageButton.setAttribute(
- "style",
- "background: #F0F0F0; margin: 5px;"
- );
- });
- copyImageButton.addEventListener("mouseout", (e: XUL.XULEvent) => {
- copyImageButton.setAttribute("style", "margin: 5px;");
- });
- moreButton.before(copyImageButton);
- }
if (annotationItem.annotationType === "image") {
// Image OCR
const ocrButton = _document.createElement("div");