debian-mirror-gitlab/app/assets/javascripts/content_editor/extensions/code.js
2022-03-02 08:16:31 +05:30

12 lines
336 B
JavaScript

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,
});