stfalcon / TinymceBundle

Bundle for connecting TinyMCE (WYSIWYG editor) to your Symfony2 project
259 stars 154 forks source link

Regression in standard initialization script in 2.2.0 #227

Closed VincentChalnot closed 5 years ago

VincentChalnot commented 6 years ago

Hello, The incriminated line: https://github.com/stfalcon/TinymceBundle/blob/v2.2.0/Resources/public/js/init.standard.js#L21 Should be: https://github.com/stfalcon/TinymceBundle/blob/v2.1/Resources/public/js/init.standard.js#L21 Because getElementsByClassName does'nt work with a leading "."

nicolallias commented 6 years ago

I ran into it too. How can those using v2.3 are not concerned?

Maybe a majority of integrators happen to pass the id instead?

VincentChalnot commented 6 years ago

Maybe they're using the jQuery initialization script (that never worked for me BTW). Maybe no one upgraded to v2.2...

stollr commented 5 years ago

This issue is fixed, now. @fre5h