[CONTEDIT-102] Article editor UI cannot handle FieldSetBlockDefinition with RichTextFieldDefinition Created: 21/Apr/17 Updated: 11/Jul/17 Resolved: 30/May/17 |
|
| Status: | Closed |
| Project: | Content Editor |
| Component/s: | None |
| Affects Version/s: | 1.0.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
article-editor-1.0.3-SNAPSHOT-tomcat-bundle.zip |
||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
Article editor UI cannot handle FieldSetBlockDefinition with RichTextFieldDefinition According to the definition class FieldSetBlockDefinition, it should be possible to add a RichTextFieldDefinition to the fields list. example block definition.
class: info.magnolia.editor.content.block.stock.FieldSetBlockDefinition
templateId: block-examples:blocks/richquote
fields:
quotation:
class: info.magnolia.ui.form.field.definition.RichTextFieldDefinition
citedPerson:
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
The light-module block-examples (on git) contains such a block for testing reasons (blockname="richquote"). See screenshot about how the block with the richtextfield looks like. Interestingly, after restarting the bundle, the Article editor shows the richtextfield appropriately and the field is editable. But if you then add another block of this type, the 2nd won't work. |
| Comments |
| Comment by Philip Mundt [ 30/May/17 ] |
|
RichTextField shouldn't be embedded in yet another field. Content-editor relies on authors using the given text block. |