Skip to content
Snippets Groups Projects
Commit 9726f2b7 authored by chris's avatar chris
Browse files

add missing id

parent a071ff69
No related branches found
No related tags found
1 merge request!303add missing id
......@@ -202,7 +202,7 @@ const EditoriaLayout = ({ editor }) => {
return (
<ThemeProvider theme={cokoTheme}>
<Wrapper>
<Wrapper id="wax-container">
<TopMenu>
<TopBar />
</TopMenu>
......
......@@ -116,10 +116,13 @@ export default ({ node, view }) => {
}, 20);
const findReplace = context.app.PmPlugins.get('findAndReplacePlugin');
const matches = findReplace.getState(noteView.state).allMatches;
if (matches.length > 0 && !typing && context.activeViewId === noteId)
context.updateView({}, noteId);
// UNTIL HERE
if (findReplace) {
const matches = findReplace.getState(noteView.state).allMatches;
if (matches.length > 0 && !typing && context.activeViewId === noteId)
context.updateView({}, noteId);
// UNTIL HERE
}
if (!tr.getMeta('fromOutside')) {
const outerTr = view.state.tr;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment