spohlenz / tinymce-rails

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

Uncaught Error: Could not find control by type: button[ rails (5.1.4) ] #241

Open zia-qamar opened 6 years ago

zia-qamar commented 6 years ago

I have updated my rails application from 3.2.2 to rails 5.1.4, gem stopped working. Here is what i am getting on console. I am getting this error on all related pages

Uncaught Error: Could not find control by type: button at Object.create (tinymce-76a9eaa00fcf65c160b4e122c892f75ffd40ab147cdb47c2068c44fce2350034.js:12) at Array. (theme.js:1) at Pn (tinymce-76a9eaa00fcf65c160b4e122c892f75ffd40ab147cdb47c2068c44fce2350034.js:3) at b (theme.js:1) at c (theme.js:1) at c (theme.js:1) at k (theme.js:1) at Object.l.renderUI (theme.js:1) at Sk (tinymce-76a9eaa00fcf65c160b4e122c892f75ffd40ab147cdb47c2068c44fce2350034.js:11) at Rk (tinymce-76a9eaa00fcf65c160b4e122c892f75ffd40ab147cdb47c2068c44fce2350034.js:11)

edgarsilva commented 6 years ago

@zia-qamar ever found the root cause? having the same issue here.

zia-qamar commented 6 years ago

@edgarsilva do not add any lines in application.js file