mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
fix inconsistent tiptap spelling
This commit is contained in:
parent
61a46ee6d0
commit
928bd36f5f
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user