4.6.7 regression - windowManager.getParams(...).oninsert is not a function
See original GitHub issueI was unable to reproduce this with TinyMCE Fiddle because I got another error. But the code should show what I was trying to do: http://fiddle.tinymce.com/1bgaab
I use the file_picker_callback
with a call to tinymce.activeEditor.windowManager.open
with an params object containing oninsert
and then call the callback to insert the image.
https://www.tinymce.com/docs/api/tinymce/tinymce.windowmanager/#open
TypeError: top.tinymce.activeEditor.windowManager.getParams(...).oninsert is not a function
This worked fine in 4.6.6 (and earlier) but no longer works in 4.6.7.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
TinyMCE: getParams() got removed from v6 - Stack Overflow
In my example, oninsert() is the custom method in openUrl(). I am not sure if we can use the custom property/methods in v6....
Read more >tinymce.WindowManager
Returns the params of the last window open call. This can be used in iframe based dialog to get params passed from the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
They fixed this. Is working on 4.7.0.
I’m closing this one since it’s fixed in 4.7.0.