-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Templates plugin not working on webpack installation of ckeditor #185
Comments
Do you solve this? I meet the same problem. |
I didn't have time to look this up, also never used webpack/encore. Do you have any idea what could be wrong? Will try to look this up when I find some time |
@ktherage have you run into these issues by any chance? |
@kunicmarko20 sorry I didn't use templates with ckeditor. But I'll try it and I'll keep informed. But anyway to point out the clue, @drososanastasios it seems to be the installed ckeditor version to be in cause. Can you tell us what is the version you've installed (check in the package.json file)? |
Well, i tried this quickly and it seems that |
Thank you @ktherage! At least its a clue, will try to take a look over the weekend |
I'm using FOSCKEditor 2.4 (composer.json) with ckeditor 4.19.1 (package.json) in a Symfony 6 application with webpack (symfony/webpack-encore-bundle) :
However, if i "just" add the "templates" plugin without defining some custom template in my form,
then the CKEditor is not broken and the default templates are available. |
Environment
Symfony 4.2
Symfony packages
friendsofsymfony/ckeditor-bundle: 2.1.0,
I started a fresh symfony flex project and I installed webpack based on documentation. What I did next is that I followed the documentation in order to install ckeditor bundle based on:
https://symfony.com/doc/master/bundles/FOSCKEditorBundle/installation.html
Since I try to migrate from symfony 3.4 to symfony 4 I used the same configuration as before that contains templates. Without the templates everything works as expected.
Steps to reproduce
Add a simple configuration that contain templates:
Expected results
An editor that contains the templates.
Actual results
The editor is shown as simple text. In console.log I see that:
The text was updated successfully, but these errors were encountered: