Skip to content

Commit da0a9c3

Browse files
committed
fix underline/strikethough issue
1 parent 3a92353 commit da0a9c3

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

src/lib/tiptap/extensions/nodes/BlockNBTNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const BlockNBTNode = Node.create<NodeOptions>({
4545
font-size: 1rem;
4646
display: inline-block;
4747
vertical-align: var(--custom-source-align, middle);
48+
text-decoration: inherit;
4849
`,
4950
}),
5051
["span", {}, `NBT: ${nbt}, ${block}`],

src/lib/tiptap/extensions/nodes/EntityNBTNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const EntityNBTNode = Node.create<NodeOptions>({
4545
font-size: 0.9rem;
4646
display: inline-block;
4747
vertical-align: var(--custom-source-align, middle);
48+
text-decoration: inherit;
4849
`,
4950
}),
5051
["p", {}, `NBT: ${nbt}, ${entity}`],

src/lib/tiptap/extensions/nodes/KeybindNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export const KeybindNode = Node.create<NodeOptions>({
4343
font-size: 0.9rem;
4444
display: inline-block;
4545
vertical-align: var(--custom-source-align, middle);
46+
text-decoration: inherit;
4647
`,
4748
}),
4849
["span", {}, `KEYBIND: ${key}`],

src/lib/tiptap/extensions/nodes/ScoreNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export const ScoreNode = Node.create<NodeOptions>({
4444
font-size: 0.9rem;
4545
display: inline-block;
4646
vertical-align: var(--custom-source-align, middle);
47+
text-decoration: inherit;
4748
`,
4849
}),
4950
["span", {}, `SCORE: ${name} - ${objective}`],

src/lib/tiptap/extensions/nodes/SelectorNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export const SelectorNode = Node.create<NodeOptions>({
4343
font-size: 0.9rem;
4444
display: inline-block;
4545
vertical-align: var(--custom-source-align, middle);
46+
text-decoration: inherit;
4647
`,
4748
}),
4849
["span", {}, `SELECTOR: ${selector}`],

src/lib/tiptap/extensions/nodes/StorageNBTNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const StorageNBTNode = Node.create<NodeOptions>({
4545
font-size: 0.9rem;
4646
display: inline-block;
4747
vertical-align: var(--custom-source-align, middle);
48+
text-decoration: inherit;
4849
`,
4950
}),
5051
["span", {}, `NBT: ${nbt}, ${storage}`],

src/lib/tiptap/extensions/nodes/TranslateNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const TranslateNode = Node.create<NodeOptions>({
4545
font-size: 0.9rem;
4646
display: inline-block;
4747
vertical-align: var(--custom-source-align, middle);
48+
text-decoration: inherit;
4849
`,
4950
}),
5051
["span", {}, `TRANSLATE: ${key}`],

0 commit comments

Comments
 (0)