plone/mockup

TinyMCE `LinkModal` is broken in mockup 5.0.0-alpha.14

Closed this issue · 1 comments

console error on https://6-classic.demo.plone.org :

    Uncaught TypeError: t.createModal is not a function
    show modal.js:902
    show links.js:812
    value tinymce--implementation.js:28
    addLinkClicked tinymce--implementation.js:208
    buttonBehaviours theme.js:17714

I think the new async/await implementation here 7466336#diff-8f33db0f015a9881a0b2eebd0e69d0293d833c2922810c1c214c9a57e0e95399R527 causes this

the tiny implementation is here https://github.com/plone/mockup/blob/master/src/pat/tinymce/js/links.js#L445 ...

/cc @thet can you confirm?

fixed with #1188