I’m trying to insert an image inside a text field in the Cornerstone editor, but when I click on the “Insert Image” icon, it does nothing. The editor in the sidebar works just fine, but when using the toolbar above the content doesn’t work.
When I click on that toolbar icon, nothing happens on the frontend, but when I check the console, I see the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'getBookmark')
at i.onClickMedia (app.6f62d0f.js:2:429047)
at vp.c.fire (tinymce.min.js?ver=49110-20201110:2:197006)
at i.fire (theme.min.js:1:28284)
at HTMLDivElement.o (theme.min.js:1:32492)
at C (tinymce.min.js?ver=49110-20201110:2:10800)
at HTMLDivElement.d (tinymce.min.js?ver=49110-20201110:2:10946)
I’m not sure when this problem started, but I tried downgrading to 9.0.8 (as well as downgrading Cornerstone to 6.0.8), but to no avail.