diff --git a/public/src/components/Editor/Editor.ts b/public/src/components/Editor/Editor.ts index a1ad03af..a8ef4929 100644 --- a/public/src/components/Editor/Editor.ts +++ b/public/src/components/Editor/Editor.ts @@ -182,11 +182,8 @@ export class Editor { subtree: true }); - - if (this.open) { - this.editable.focus() - this.editable.click() - } + this.editable.focus() + this.editable.click() } getSchema = () => { diff --git a/public/src/components/Editor/EditorWrapper.tsx b/public/src/components/Editor/EditorWrapper.tsx index 3b1eea76..53a5d14a 100644 --- a/public/src/components/Editor/EditorWrapper.tsx +++ b/public/src/components/Editor/EditorWrapper.tsx @@ -60,7 +60,6 @@ export class EditorWrapper extends Component { } componentWillUnmount() { - console.log("componentWillUnmount") AppNoteStore.UnSubscribeToStore(this.updateState) } diff --git a/public/src/components/TagsFilter/TagsFilter.tsx b/public/src/components/TagsFilter/TagsFilter.tsx index 0b981eda..10879d46 100644 --- a/public/src/components/TagsFilter/TagsFilter.tsx +++ b/public/src/components/TagsFilter/TagsFilter.tsx @@ -140,7 +140,7 @@ export class TagsFilter extends ScReact.Component - {/**/} +
this.menuRef = ref}> diff --git a/public/src/pages/Notes/index.tsx b/public/src/pages/Notes/index.tsx index 48db9611..be10e054 100644 --- a/public/src/pages/Notes/index.tsx +++ b/public/src/pages/Notes/index.tsx @@ -250,7 +250,7 @@ export class NotesPage extends ScReact.Component {
{this.state.tags.length == 0 ? : ""} - {/*{this.state.tags.length > 0 ? : "" }*/} + {this.state.tags.length > 0 ? : "" }
this.notesContainerRef = ref}> {