Skip to content

Commit

Permalink
add history extension
Browse files Browse the repository at this point in the history
  • Loading branch information
multipliedtwice committed Nov 14, 2022
1 parent 67fea28 commit 22b83f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/src/components/Wysiwyg/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import OrderedListExtension from "@tiptap/extension-ordered-list"
import BulletListExtension from '@tiptap/extension-bullet-list'
import ListItemExtension from '@tiptap/extension-list-item'
import GapcursorExtension from '@tiptap/extension-gapcursor'
import History from '@tiptap/extension-history'
import BlockquoteExtension from '@tiptap/extension-blockquote'
import CodeBlockExtension from '@tiptap/extension-code-block'
import DocumentExtension from '@tiptap/extension-document'
Expand Down Expand Up @@ -198,6 +199,7 @@ const WysiwygContent = ({ name, onChange, value, intlLabel, labelAction, disable
settings.youtube.enabled ? YouTubeExtension.configure({
inline: false,
}) : null,
History
],
parseOptions: {
preserveWhitespace: 'full',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@tiptap/extension-gapcursor": "2.0.0-beta.199",
"@tiptap/extension-hard-break": "2.0.0-beta.199",
"@tiptap/extension-heading": "2.0.0-beta.199",
"@tiptap/extension-history": "^2.0.0-beta.202",
"@tiptap/extension-horizontal-rule": "2.0.0-beta.199",
"@tiptap/extension-image": "2.0.0-beta.199",
"@tiptap/extension-italic": "2.0.0-beta.199",
Expand Down

0 comments on commit 22b83f3

Please sign in to comment.