diff --git a/web/core/lib/editor/extensions/advice/advice-view.tsx b/web/core/lib/editor/extensions/advice/advice-view.tsx index b886434..2fad434 100644 --- a/web/core/lib/editor/extensions/advice/advice-view.tsx +++ b/web/core/lib/editor/extensions/advice/advice-view.tsx @@ -80,7 +80,9 @@ export const AdviceView = ({ editor }: AdviceViewProps) => { className='rounded-md bg-white/10 px-2.5 py-1.5 text-sm font-semibold text-white shadow-sm hover:bg-white/20' onClick={() => { const originalSelection = editor.state.selection; - const markdownParser = new MarkdownParser(editor, {}); + const markdownParser = new MarkdownParser(editor, { + html: true, + }); const markdownNode = markdownParser.parse(advice.content) editor.chain().focus()?.deleteRange({ diff --git a/web/core/package.json b/web/core/package.json index 6836cad..964b5e2 100644 --- a/web/core/package.json +++ b/web/core/package.json @@ -1,6 +1,6 @@ { "name": "@studio-b3/web-core", - "version": "0.8.7", + "version": "0.8.8", "type": "module", "main": "dist/main.js", "types": "dist-types/main.d.ts",