Open gerald2545 opened 1 year ago
Hi @gerald2545 I guess this is meant to be a feature request? I can't remember to have this feature in the past.
If you know what the plugin is called and checked that it is delivered with Znuny, you can just add in the sysconfig.
Frontend::RichText::Settings###ExtraPlugins
Regards Johannes
yes, it's a feature request...I hope I didn't post at the wrong plage...will check.
I saw in the release notes that ckeditor could be configured in "system configuration"..but didn't find help in znuny documentation
I just test :
add copyformatting to
Frontend::RichText::Settings###ExtraPlugins and deployed
I have no new icon. I even did
otrs@esitoul-rocky-prod: ~/bin $ ./otrs.Console.pl Maint::Cache::Delete
Deleting cache...
Done.
otrs@esitoul-rocky-prod: ~/bin $ ./otrs.Console.pl Maint::Loader::CacheCleanup
Cleaning up the loader cache files...
Done.
otrs@esitoul-rocky-prod: ~/bin $ ./otrs.Console.pl Maint::Loader::CacheGenerate
Generating loader cache files...
Done.
but no changes in ckeditor toolbar
I think it is deleverd with znuny as if modify /opt/otrs/Kernel/Output/HTML/Layout.pm with :%s/'Bold'/'CopyFormatting', 'Bold'/
it works
i find the plugin code on https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_copyformatting.html
I checked it for you. It part of the plugin list and you can add it.
Environment
Expected behaviour
have the option in ckeditor toolbar to copy formatting![2023-04-20_172250](https://user-images.githubusercontent.com/10177830/233412898-9b200ff2-5050-44e9-a7ba-617d62859d6a.png)
Actual behaviour
no icon is available for this option
Additional information
it's not really a problem, but asked by my colleagues. I used to add it for OTRS.... with command line vi /opt/otrs/Kernel/Output/HTML/Layout.pm :%s/'Bold'/'CopyFormatting', 'Bold'/
if you think it can be integrated in znuny source code, I can suggest a merge request
Screenshots