Issue Bug Closed

#96923RteLinkBrowser broken since ES6 module usage

Benjamin Franzke 02/16/22, 10:53 updated 10/04/22, 08:35

Description

Since commit #96570 the RTE Link browser results in:

Uncaught ReferenceError: require is not defined
    at openElementBrowser (typo3link.js?t=LAHF-6bb790264ae6e66aef89b25824447d3d:116:5)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.command.openLinkBrowser (typo3link.js?t=LAHF-6bb790264ae6e66aef89b25824447d3d:80:5)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.command.exec (VM834 ckeditor.js:205:171)
    at a.execCommand (VM834 ckeditor.js:274:143)
    at CKEDITOR.ui.button.CKEDITOR.tools.extend.click (VM834 ckeditor.js:684:223)
    at Object.execute (VM834 ckeditor.js:685:332)
    at VM834 ckeditor.js:686:204
    at VM834 ckeditor.js:31:124
    at Object.callFunction (VM834 ckeditor.js:31:240)
    at HTMLAnchorElement.onclick (edit?token=75d2b86972db5753000324be4f8cfca9b541f781&edit[tt_content][21]=edit&returnUrl=%2Ftypo3%2Fempty%3Ftoken%3Daa91cd1ee120cb9978a50c78dd831a286a6de11d:1:16)

Reviews 1