We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21a946b commit 8ca959fCopy full SHA for 8ca959f
packages/js/src/bridge.ts
@@ -10,11 +10,6 @@ export const loadBridge = (src: string) => {
10
11
// Way to make sure all event handlers are called after loading
12
window.storyblokRegisterEvent = (cb: () => void) => {
13
- if (window.location === window.parent.location) {
14
- console.warn('You are not in Draft Mode or in the Visual Editor.');
15
- return;
16
- }
17
-
18
if (!loaded) {
19
callbacks.push(cb);
20
}
0 commit comments