spohlenz / tinymce-rails

Integration of TinyMCE with the Rails asset pipeline
Other
815 stars 256 forks source link

Editor without theme throws error #228

Closed ivopashov closed 6 years ago

ivopashov commented 6 years ago

Editors without a theme (no theme object) throw the following error:

Uncaught (in promise) TypeError: Cannot read property 'getNotificationManagerImpl' of undefined
    at getImplementation (tinymce.self-ea002509455c2d4e12e195ec050ff03ce90bbe0bdf22bb0d4180bba730c2bcc6.js?body=1:25422)
    at reposition (tinymce.self-ea002509455c2d4e12e195ec050ff03ce90bbe0bdf22bb0d4180bba730c2bcc6.js?body=1:25434)
    at <anonymous>

Saw the same issue with the original tinymce repo - link. What is more according to docs default theme should be modern so i don't understand why this lack of theme causes trouble.

sintro commented 6 years ago

There are also noted, that the problem fixed in latest version (4.7.1 probably). When will the gem be updated to this version?

spohlenz commented 6 years ago

The releases for 4.7.1 (and 4.7.0) have now been pushed to RubyGems.org.

joelsamuelk commented 6 years ago

I am still experiencing this issue with WordPress 4.9

tinymce.min.js?ver=4607-20171116:28 Uncaught (in promise) TypeError: Cannot read property 'getNotificationManagerImpl' of undefined at h (tinymce.min.js?ver=4607-20171116:28) at k (tinymce.min.js?ver=4607-20171116:28) at

spohlenz commented 6 years ago

@joelsamuelk This issue tracker is for the Rails integration of TinyMCE. You might be looking for https://core.trac.wordpress.org/.

joelsamuelk commented 6 years ago

Thank you, I have logged a ticket. 

Regards, 

Joel Kapepula | Developer 3 Woodlands Rd, Woodstock, 7925, Cape Town T: (+27) 21 201 1180 | M: (+27) 72 552 7233 E: joel@responsive.co.za ( andrew@responsive.co.za ) W: responsive.co.za ( http://responsive.co.za/ )

On Mon, 27 Nov 2017 at 23:11 Sam Pohlenz < Sam Pohlenz ( Sam Pohlenz notifications@github.com ) > wrote:

@joelsamuelk ( https://github.com/joelsamuelk ) This issue tracker is for the Rails integration of TinyMCE. You might be looking for https://core.trac.wordpress.org/ .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub ( https://github.com/spohlenz/tinymce-rails/issues/228#issuecomment-347329220 ) , or mute the thread ( https://github.com/notifications/unsubscribe-auth/AQ0ZS2fWVgJiZFXVMy82UPL5OWGgn0cQks5s6yVxgaJpZM4P20K7 ).