blob: 53f6d9b995ce4e58b98d598f4ab60b8e9c0bbec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import Code from '@tiptap/extension-code';
import { EXTENSION_PRIORITY_LOWER } from '../constants';
export default Code.extend({
excludes: null,
/**
* Reduce the rendering priority of the code mark to
* ensure the bold, italic, and strikethrough marks
* are rendered first.
*/
priority: EXTENSION_PRIORITY_LOWER,
});
|