olyura / CKEditor4-sticky-toolbar

GNU General Public License v3.0
3 stars 1 forks source link

Error when click to any icon in toolbar #2

Open applibs opened 1 year ago

applibs commented 1 year ago

After click on any icon in toolbar I see error in console.

at line: inner.style.position = "relative"; inner is empty.

Uncaught TypeError: Cannot read properties of null (reading 'style')
    at plugin.js?t=M2G9:57:23
    at NodeList.forEach (<anonymous>)
    at setToolbars (plugin.js?t=M2G9:32:47)
    at plugin.js?t=M2G9:20:17
olyura commented 1 year ago

Thanks for a feedback. Will try to fic it shortly!

anitr commented 7 months ago

@olyura Any news about this fix? Thank you :)

anitr commented 7 months ago

For me, I fixed it so that on line 18, I changed to:

['scroll'].forEach(function(e) {

instead of:

['scroll', 'click'].forEach(function(e) {