Open josegar74 opened 1 year ago
The function works, but it doesn't enter in the if due to this:
Removing that, it works. But apparently, apart of the 2 values defined in the setting, the config-editor.xml
defines a new one gn-indent-bluescale
, that is slightly different to the Colored indents
style.
If this can be configured by metadata standard, maybe the setting should be removed? Or at least add some help in the setting to indicate that takes precedence what is defined in config-editor.xml
?
Maybe we should have 2 settings:
Not really sure how to manage it, as potentially can be created other styles.
Describe the bug The setting
Editor page indent type
doesn't seem to work, the metadata editor is always displayed with the colored indent value:To Reproduce
Steps to reproduce the behavior:
Editor page indent type
toDefault, minimal indents
Expected behavior The editor is displayed using the style
Default, minimal indents
.Additional context
This code doesn't seem to have effect:
https://github.com/geonetwork/core-geonetwork/blob/4bfd6cb6aae9887804a2629ef32bbb3d38f32402/web-ui/src/main/resources/catalog/js/edit/EditorController.js#L402-L412
@fxprunayre any idea about this? I would expect
Default, minimal indents
displays the metadata as used to be displayed in GeoNetwork 3.12.x.