This plugin comes with a default FOSCKEditorBundle integration. It has also been customized to use image upload feature. Every time you upload an image in the CKEditor, a new image media is being created.
You can use a custom WysiwygType any place you want the CKEditor to appear in. Take the BlockTranslationType as an example.
Note: In the WYSIWYG fields, you can use Twig function nesting. Read more here.
If you want to customize any behavior of the CKEditor, you have to override one of these files: CKEditor config or CKEditor js config
Useful links:
Note:
Remember to add your js configuration to config/packages/twig.yaml
file:**
# Symfony 2/3: app/config/config.yml
# Symfony 4: config/packages/twig.yaml
twig:
form_themes:
- 'path to your configuration'