@tiptap/extension-code-block-lowlight 2.9.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/code-block-lowlight.d.ts.map +1 -1
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +5 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +4 -4
- package/src/code-block-lowlight.ts +5 -0
package/dist/index.js
CHANGED
|
@@ -2726,6 +2726,11 @@ const CodeBlockLowlight = CodeBlock.extend({
|
|
|
2726
2726
|
return {
|
|
2727
2727
|
...(_a = this.parent) === null || _a === void 0 ? void 0 : _a.call(this),
|
|
2728
2728
|
lowlight: {},
|
|
2729
|
+
languageClassPrefix: 'language-',
|
|
2730
|
+
exitOnTripleEnter: true,
|
|
2731
|
+
exitOnArrowDown: true,
|
|
2732
|
+
defaultLanguage: null,
|
|
2733
|
+
HTMLAttributes: {},
|
|
2729
2734
|
};
|
|
2730
2735
|
},
|
|
2731
2736
|
addProseMirrorPlugins() {
|