diff options
Diffstat (limited to 'app/assets/javascripts/content_editor/extensions/italic.js')
-rw-r--r-- | app/assets/javascripts/content_editor/extensions/italic.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/content_editor/extensions/italic.js b/app/assets/javascripts/content_editor/extensions/italic.js new file mode 100644 index 00000000000..b8a7c4aba3e --- /dev/null +++ b/app/assets/javascripts/content_editor/extensions/italic.js @@ -0,0 +1,4 @@ +import { Italic } from '@tiptap/extension-italic'; + +export const tiptapExtension = Italic; +export const serializer = { open: '_', close: '_', mixable: true, expelEnclosingWhitespace: true }; |