debian-mirror-gitlab/app/assets/javascripts/content_editor/extensions/paragraph.js
2023-07-09 08:55:56 +05:30

12 lines
214 B
JavaScript

import Paragraph from '@tiptap/extension-paragraph';
export default Paragraph.extend({
addOptions() {
return {
...this.parent?.(),
HTMLAttributes: {
dir: 'auto',
},
};
},
});