Skip to content

Commit

Permalink
fix inconsistent tiptap spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
svenadlung committed Mar 13, 2023
1 parent 61a46ee commit 928bd36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/utilities/createStyleTag.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export function createStyleTag(style: string, nonce?: string): HTMLStyleElement {
const tipTapStyleTag = (<HTMLStyleElement>document.querySelector('style[data-tiptap-style]'))
const tiptapStyleTag = (<HTMLStyleElement>document.querySelector('style[data-tiptap-style]'))

if (tipTapStyleTag !== null) {
return tipTapStyleTag
if (tiptapStyleTag !== null) {
return tiptapStyleTag
}

const styleNode = document.createElement('style')
Expand Down

0 comments on commit 928bd36

Please sign in to comment.