mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 11:49:02 +08:00
fix: revert excluding superscript from subscript, and vice versa to prevent error if not both extensions are used
This commit is contained in:
parent
67d5a1805c
commit
123f2067e5
@ -30,8 +30,6 @@ export const Subscript = Mark.create<SubscriptExtensionOptions>({
|
||||
HTMLAttributes: {},
|
||||
},
|
||||
|
||||
excludes: 'superscript',
|
||||
|
||||
parseHTML() {
|
||||
return [
|
||||
{
|
||||
|
@ -30,8 +30,6 @@ export const Superscript = Mark.create<SuperscriptExtensionOptions>({
|
||||
HTMLAttributes: {},
|
||||
},
|
||||
|
||||
excludes: 'subscript',
|
||||
|
||||
parseHTML() {
|
||||
return [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user