widgetfactory / jce

JCE - A Content Editor for Joomla
https://www.joomlacontenteditor.net
GNU General Public License v2.0
36 stars 13 forks source link

TypeError: Cannot read property '...' of undefined in Chrome when trying alignment and other functions #34

Open bositman opened 6 years ago

bositman commented 6 years ago

So this has been going on for quite some time (sorry can't tell you when) and I'm experiencing it in at least 4 websites I use JCE in.

Using latest 2.6.30, Joomla 3.8.8 and Chrome 67 (version shouldn't matter really). Whenever I try to change text alignment I get Uncaught TypeError: Cannot read property 'toLowerCase' of undefined, Insertion button gives Uncaught TypeError: Cannot read property 'nodeName' of null etc. Most functions work fine, but some don't.

I tried clearing Chrome cache, incognito mode (just in case it's some old JS cached). ctl+F5 but no cigar. I then tried FF and it works great, so not sure what is at fault here.

Hope you can look into it, thanks

ryandemmer commented 6 years ago

Insertion button gives Uncaught TypeError: Cannot read property 'nodeName' of null etc.

Which dialog are you inserting from?

bositman commented 6 years ago

All this is in the article edit view. I was just reporting another JS error when clicking the insertion button (I didn't actually use it to see if it properly runs)