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