Skip to content

Commit 72d4deb

Browse files
authored
Fix tinymce highlight (#41042)
1 parent 1e7c08e commit 72d4deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/editors/tinymce/src/PluginTraits/DisplayTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public function onDisplay(
318318

319319
// Use CodeMirror in the code view instead of plain text to provide syntax highlighting
320320
if ($levelParams->get('sourcecode', 1)) {
321-
$externalPlugins['highlightPlus'] = HTMLHelper::_('script', 'plg_editors_tinymce/plugins/highlighter/plugin-es5.min.js', ['relative' => true, 'version' => 'auto', 'pathOnly' => true]);
321+
$externalPlugins['highlightPlus'] = HTMLHelper::_('script', 'plg_editors_tinymce/plugins/highlighter/plugin.min.js', ['relative' => true, 'version' => 'auto', 'pathOnly' => true]);
322322
}
323323

324324
$dragdrop = $levelParams->get('drag_drop', 1);

0 commit comments

Comments
 (0)