Change strike tag? #6106
Unanswered
SABKraken
asked this question in
Questions & Help
Replies: 1 comment 1 reply
-
import { mergeAttributes } from '@tiptap/core'
const MyStrike = TiptapStrike.extend({
renderHTML({ HTMLAttributes }) {
return ['del', mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0]
}
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
is it simply possible to change the strike tag from
<s>
to<del>
in output and if yes how?My framework is Angular.
Thanks in advance and best regards
SAB Kraken
Beta Was this translation helpful? Give feedback.
All reactions