diff --git a/app/src/ai/actions.ts b/app/src/ai/actions.ts index 4264f013e..94b98ef64 100644 --- a/app/src/ai/actions.ts +++ b/app/src/ai/actions.ts @@ -10,7 +10,7 @@ export const fillContent = (protyle:IProtyle, data:string, elements:Element[]) = setLastNodeRange(getContenteditableElement(elements[elements.length - 1]), protyle.toolbar.range); protyle.toolbar.range.collapse(true); insertHTML(data, protyle, true, true); -} +}; export const AIActions = (elements: Element[], protyle: IProtyle) => { const ids: string[] = []; diff --git a/app/src/assets/template/app/index.tpl b/app/src/assets/template/app/index.tpl index 90492040a..3dc324556 100644 --- a/app/src/assets/template/app/index.tpl +++ b/app/src/assets/template/app/index.tpl @@ -11,7 +11,10 @@