Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
4.4.1
-
Yes
Description
I can't completely change default action group config, looks like my config is merged with the default config.
For example, when I add this config:
ibexa: system: default: image_editor: image_quality: 0.9 action_groups: default: actions: crop: id: crop priority: 400 buttons: 16-5: label: 1:1 ratio: x: 16 y: 5 16-9: label: 16:9 ratio: x: 16 y: 9 400-209: label: 400:209 ratio: x: 400 y: 209
Instead of seeing the three buttons I defined, I see all default buttons plus my buttons. Also on the screenshot you can see that it's scrolled a little bit to the right, because having more buttons results in a long list, that is not wrapped into multiple lines. You have to scroll horizontally to see the additional buttons.
I've also tried different approach. I hid all actions in te default action group and added new action group, like this:
ibexa: system: default: image_editor: image_quality: 0.9 action_groups: default: actions: crop: id: crop visible: false flip: id: flip visible: false focal-point: id: focal-point visible: false mynewactiongroup: id: mynewactiongroup label: My new action group actions: crop: id: crop priority: 400 buttons: 16-5: label: 1:1 ratio: x: 16 y: 5 16-9: label: 16:9 ratio: x: 16 y: 9 400-209: label: 400:209 ratio: x: 400 y: 209 flip: id: flip priority: 300
and this new action group works fine and I have a section called "My new action group" only with buttons i have defined, but the downside is that I'm unable to hide the default action group, so there's always an empty "default" section in the editor. Just like on this screenshot