Skip to content

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

feat: add context toolbar for link

thecodrr1322d9a885a9
diff --git a/apps/web/src/components/editor/tinymce.js b/apps/web/src/components/editor/tinymce.js
index 0b74163fe..a311b5b39 100644
--- a/apps/web/src/components/editor/tinymce.js
+++ b/apps/web/src/components/editor/tinymce.js
@@ -210,6 +210,7 @@ function TinyMCE(props) {
font_formats:
"Serif=serif; Classic=courier new; Monospace=courier; System font=Open Sans",
quickbars_selection_toolbar: false,
+ link_context_toolbar: true,
mobile: {
toolbar_mode: "scrolling",
},
@@ -253,6 +254,7 @@ function TinyMCE(props) {
return;
}
editor.getHTML().then((html) => {
+ console.log("GOT CHNAGED");
onChange(html, editor);
});
}, changeInterval);