问题
on my site, I have the CKEditor bundle installed. It worked in PREPROD. But by switching to PROD, CKEditor does not work anymore. It is installed however, can someone please help me?
I've :
/web/ckeditor
/web/bundle/pages/ckeditor
/src/Site/PagesBundle/Resources/Public/ckeditor
But nothing is working. And if i try this :
php bin/console ckeditor:install
I've
In CKEditorInstaller.php line 334:
Unable to download CKEditor ZIP archive from "https://github.com/ckeditor/ckeditor-releases/archive/full/latest.zip". (file_get_contents(https://github.com/ckeditor/ckeditor-releases/archive/full/latest.zip): failed to open s tream: Connection timed out)
回答1:
if you have all the files and you are using fos ckeditor, please check that you have this code under twig.form_themes
:
# Symfony 2/3: app/config/config.yml
# Symfony 4: config/packages/twig.yaml
twig:
form_themes:
- '@FOSCKEditor/Form/ckeditor_widget.html.twig'
来源:https://stackoverflow.com/questions/56270227/symfony-3-ckeditor-not-correctly-installed-in-prod