diff --git a/examples/Components/Routes/CodeHighlighting/examples.js b/examples/Components/Routes/CodeHighlighting/examples.js index a91c4c52d..9169ed304 100644 --- a/examples/Components/Routes/CodeHighlighting/examples.js +++ b/examples/Components/Routes/CodeHighlighting/examples.js @@ -29,7 +29,11 @@ body, .usertext { export const ExplicitImportExample = `import javascript from 'highlight.js/lib/languages/javascript' +import css from 'highlight.js/lib/languages/css' import { Editor } from 'tiptap' +import { + CodeBlockHighlight, +} from 'tiptap-extensions' export default { components: { @@ -38,7 +42,7 @@ export default { data() { return { extensions: [ - new CodeBlockHighlightNode({ + new CodeBlockHighlight({ languages: { javascript, css,