In the deposit page, we restricted the formatting options for the descriptions field by specifying which plugins to not load in the editorConfig.
However, this was only used in the main descriptions input field but never passed to the additional descriptions input fields, leading to inconsistency regarding which formatting options are available.
Further, the additionally available formatting in the additional descriptions usually gets bleach'd out anyway.
This PR fixes that oversight, to make the input fields aligned.
Before
After
Note that the icons aren't displayed in the second screenshot, because I only quickly set up a my-site for testing.
The first screenshot is from https://inveniordm.web.cern.ch/.
The issue and proposed solution
In the deposit page, we restricted the formatting options for the descriptions field by specifying which plugins to not load in the
editorConfig
. However, this was only used in the main descriptions input field but never passed to the additional descriptions input fields, leading to inconsistency regarding which formatting options are available. Further, the additionally available formatting in the additional descriptions usually getsbleach
'd out anyway. This PR fixes that oversight, to make the input fields aligned.Before
After
Note that the icons aren't displayed in the second screenshot, because I only quickly set up a
my-site
for testing. The first screenshot is from https://inveniordm.web.cern.ch/.