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
feat: make editor open for everyone
thecodrra87eeb9eb6ba
diff --git a/apps/web/src/components/editor/tinymce.js b/apps/web/src/components/editor/tinymce.jsindex 7fe465b74..4923f5c9c 100644--- a/apps/web/src/components/editor/tinymce.js+++ b/apps/web/src/components/editor/tinymce.js@@ -174,16 +174,18 @@ function TinyMCE(props) {);},}}- onBeforeExecCommand={async (command) => {- if (- premiumCommands.some((cmd) => command.command === cmd) &&- !isUserPremium()- ) {- command.preventDefault();- await showBuyDialog();- return;- }- }}+ // onBeforeExecCommand={async (command) => {+ // if (+ // premiumCommands.some(+ // (cmd) => command.command === cmd && !command.value.paste+ // ) &&+ // !isUserPremium()+ // ) {+ // command.preventDefault();+ // await showBuyDialog();+ // return;+ // }+ // }}onKeyDown={(e) => {if (e.ctrlKey && e.key === "s") {e.preventDefault();