Complete redo of content indexing and querying (#517)
Complete redo of data store Introduces live queries and live templates
This commit is contained in:
@@ -89,12 +89,20 @@ export function editorSyscalls(editor: Client): SysCallMapping {
|
||||
id: id as any,
|
||||
config: { html, script, mode },
|
||||
});
|
||||
setTimeout(() => {
|
||||
// Dummy dispatch to rerender the editor and toggle the panel
|
||||
editor.editorView.dispatch({});
|
||||
});
|
||||
},
|
||||
"editor.hidePanel": (_ctx, id: string) => {
|
||||
editor.ui.viewDispatch({
|
||||
type: "hide-panel",
|
||||
id: id as any,
|
||||
});
|
||||
setTimeout(() => {
|
||||
// Dummy dispatch to rerender the editor and toggle the panel
|
||||
editor.editorView.dispatch({});
|
||||
});
|
||||
},
|
||||
"editor.insertAtPos": (_ctx, text: string, pos: number) => {
|
||||
editor.editorView.dispatch({
|
||||
|
||||
Reference in New Issue
Block a user