Ckedtior outputStandardEditor fails in 5.8 with JS caching on Jshrink Minifier.php error
Permalink
I have a dashboard single page that is displaying a CKEditor in 5.8.
Works fine with CSS/JS caching off. As soon as JS/CSS caching is turned on for the site, I get the following error from JShrink in Minifier.php:
It's the error being thrown from:
Any thoughts? I've tried passing no content. I've tried the inline editor.
echo Core::make('editor')->outputStandardEditor('content',$myContent);
Works fine with CSS/JS caching off. As soon as JS/CSS caching is turned on for the site, I get the following error from JShrink in Minifier.php:
PHP Fatal error: Uncaught RuntimeException: Unclosed regex pattern at position: 139150
It's the error being thrown from:
/docs/concrete/vendor/tedivm/jshrink/src/JShrink/Minifier.php(240): JShrink\\Minifier->saveRegex()\n#1
Any thoughts? I've tried passing no content. I've tried the inline editor.
I can confirm this.
A GitHub issue was created:
Embedding CKEditor in single pages triggers fatal error when CSS and JavaScript Cache is enabled #4922
https://github.com/concrete5/concrete5/issues/4922...