[TASK] Remove dependency to tab.js in FormEngine
[Packages/TYPO3.CMS.git] / typo3 / sysext / t3editor / Classes / T3editor.php
index df0d677..dc83873 100644 (file)
@@ -177,6 +177,7 @@ class T3editor implements \TYPO3\CMS\Core\SingletonInterface {
                        // Include editor-js-lib
                        $doc->loadJavascriptLib($path_codemirror . 'codemirror.js');
                        $doc->loadJavascriptLib($path_t3e . 'res/jslib/t3editor.js');
+                       $pageRenderer->loadRequireJsModule('TYPO3/CMS/T3editor/T3editor');
 
                        $content .= \TYPO3\CMS\Core\Utility\GeneralUtility::wrapJS(
                                'T3editor = T3editor || {};' .