fix(markdown): refresh previews after external changes
This commit is contained in:
1 parent
4a407d78b8
commit
c0e41f4b0d
9 files changed
+336
-15
No files matched your search
@@ -111,7 +111,7 @@ export function builtinTabs(ctx: Context, options: BuiltinTabOptions = {}): read
|
||||
],
|
||||
}],
|
||||
},
|
||||
component: ({ ctx, store, scope, tab, expanded, onToggleDir, onReferenceFile }) => (
|
||||
component: ({ ctx, store, scope, tab, expanded, onToggleDir, onReferenceFile, visible }) => (
|
||||
<EditorHost
|
||||
ctx={ctx}
|
||||
store={store}
|
||||
@@ -120,6 +120,7 @@ export function builtinTabs(ctx: Context, options: BuiltinTabOptions = {}): read
|
||||
expanded={expanded ?? []}
|
||||
onToggleDir={onToggleDir ?? (() => { /* no-op */ })}
|
||||
onReferenceFile={onReferenceFile ?? (() => { /* no-op */ })}
|
||||
visible={visible}
|
||||
/>
|
||||
),
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user