A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
editor: make web clips selectable in readonly mode
Abdullah Attaf88c61049512
diff --git a/packages/editor/src/extensions/web-clip/web-clip.ts b/packages/editor/src/extensions/web-clip/web-clip.tsindex 203051306..c17e28cfa 100644--- a/packages/editor/src/extensions/web-clip/web-clip.ts+++ b/packages/editor/src/extensions/web-clip/web-clip.ts@@ -110,7 +110,8 @@ export const WebClipNode = Node.create<WebClipOptions>({addNodeView() {return createSelectionBasedNodeView(WebClipComponent, {- shouldUpdate: (prev, next) => !hasSameAttributes(prev.attrs, next.attrs)+ shouldUpdate: (prev, next) => !hasSameAttributes(prev.attrs, next.attrs),+ forceEnableSelection: true});},