mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 23:15:15 +08:00
fix a bug
This commit is contained in:
parent
46501ee226
commit
32af53d0f4
@ -39,13 +39,13 @@ export default function (Vue) {
|
|||||||
el.setAttribute('scrolling', 'no')
|
el.setAttribute('scrolling', 'no')
|
||||||
}
|
}
|
||||||
|
|
||||||
el.iFrameResizer.resize()
|
el?.iFrameResizer?.resize?.()
|
||||||
},
|
},
|
||||||
}, el)
|
}, el)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
unbind(el) {
|
unbind(el) {
|
||||||
el.iFrameResizer.removeListeners()
|
el?.iFrameResizer?.removeListeners?.()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user