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

update activeView

parent b560abb7
No related branches found
No related tags found
1 merge request!235Images
......@@ -104,8 +104,8 @@ export default ({ node, view }) => {
const findReplace = context.app.PmPlugins.get('findAndReplacePlugin');
const matches = findReplace.getState(noteView.state).allMatches;
if (matches.length > 0 && !typing) context.updateView({}, noteId);
typing = false;
if (matches.length > 0 && !typing && context.activeViewId === noteId)
context.updateView({}, noteId);
// UNTIL HERE
if (!tr.getMeta('fromOutside')) {
......
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