Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
Description
Current the BlockDefinition (the type of block) applies BlockKeyGenerator, whereas BlockFieldDefinition (the field of block) inherits EditorPropertyDefinitionKeyGenerator, that leads to un-unify in generate key for block type and field.
E.g: To define property for a Text block:
block.text.label=Text << This is block type name
blocks.text=Text << This is block field name of the text block
AC:
Investigate to define a proper KeyGenerator which could self-explain the hierarchy of block and block field
| block definition name | block | property name | i18n field | keys |
|---|---|---|---|---|
| text | block | text | label | text.block.text.label, block.text.label, text.text.label, text.label |
or using EditorPropertyDefinitionKeyGenerator for both BlockDefinition and BlockFieldDefinition
Checklists
Acceptance criteria