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
fix: #34
thecodrra5ab36d6786b
diff --git a/apps/web/src/components/editor/react-quill.js b/apps/web/src/components/editor/react-quill.jsindex ee3d7e644..d8f9d720d 100644--- a/apps/web/src/components/editor/react-quill.js+++ b/apps/web/src/components/editor/react-quill.js@@ -47,8 +47,12 @@ export default class ReactQuill extends Component {componentDidUpdate() {if (this.props.refresh) {this.quill.setContents(this.props.initialContent);- console.log(this.props.initialContent);- if (!this.props.initialContent.ops.length) return;+ if (+ !this.props.initialContent ||+ !this.props.initialContent.ops ||+ !this.props.initialContent.ops.length+ )+ return;const text = this.quill.getText();if (text[text.length - 1] !== " ") {this.quill.insertText(text.length - 1, " ");