fix inconsistent tiptap spelling

This commit is contained in:
svenadlung 2023-03-13 19:07:22 +01:00
parent 61a46ee6d0
commit 928bd36f5f

View File

@ -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')