Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

refactor: remove image_upload_handler in editor

thecodrr5329f2b94e12
diff --git a/apps/web/src/components/editor/tinymce.js b/apps/web/src/components/editor/tinymce.js
index 7a95a1deb..cc06e8aab 100644
--- a/apps/web/src/components/editor/tinymce.js
+++ b/apps/web/src/components/editor/tinymce.js
@@ -201,11 +201,6 @@ function TinyMCE(props) {
target_list: false,
link_title: false,
imagetools_toolbar: "rotateleft rotateright | flipv fliph",
- image_upload_handler: function (blobInfo, success) {
- success(
- "data:" + blobInfo.blob().type + ";base64," + blobInfo.base64()
- );
- },
setup: (editor) => {
editor.on("ScrollIntoView", (e) => {
e.preventDefault();