[editor] Allow opening of an editor after landing on a non-existing/non-viewable document
@@ -915,6 +915,10 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
}
}
+ if (self.currentApp() == 'editor' && self.embeddable_cache['editor'] && !$('#editorComponents').length) {
+ self.embeddable_cache['editor'] = undefined;
+ }
+
self.currentApp(app);
if (!app.startsWith('security')) {
self.lastContext = null;
