Open pprgva opened 1 year ago
I already have the same problem, i installed manually codesnippet inside plugins folder and inside config file iadded this :
`fos_ck_editor:
configs:
main_config:
extraPlugins: "codesnippet"
toolbar:
- { name: "styles", items: ['Bold', 'Italic', 'Underline', 'Strike', 'Blockquote', '-', 'Link', '-', 'RemoveFormat', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'Image', 'Table', '-', 'Styles', 'Format','Font','FontSize', '-', 'TextColor', 'BGColor', 'Source', 'codeSnippet'] }
plugins:
codesnippet:
path: "/bundles/fosckeditor/plugins/codesnippet/" # with trailing slash
filename: "plugin.js"`
I don't understand why fos ckeditor doesn't contain codesnippet plugin by defaut !
Thanks for your help ! Warning "codeSnippet" must start with a capital letter, On s'ecrit en anglais mais apparemment à nantes on parle un peu francais :-)
Environment
Symfony 6.1.12
Symfony packages
Subject
Despite the presence of the codenippet plugin, it remains invisible in the menu
Steps to reproduce
Nothing more than the installation: https://symfony.com/bundles/FOSCKEditorBundle/current/installation.html
Expected results
.. this one more
Actual results