-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
6.2.26
-
None
Steps to reproduce
- Go to demo
- Open Resources app and edit the config-magnolia.js file
- Set to true the Sources plugin and save the file
- Within the very same Resources app, go to /mtk2/dialogs/components and edit the textImage.yaml file
- Within the text field, just under the info.magnolia.dam.app.field.DamRichTextFieldDefinition property, include the line:
configJsFile: /.resources/ckeditor/config-magnolia.js
- Save the dialog
- Go to pages app and create a new page (Basic template)
- Open it and within the main area, create a Text And Image component
- At the text field, clic on the Source plugin and type <h2>H2 test</h2>
- Save dialog and check that on the main area the H2 test is shown and is noticeable that is a header (bold)
- Go to JCR app, open the page created before and check that the Text And Image component has on its text attribute the code "<h2>H2 test</h2>"
- Now go back to Pages app, open the page created before and edit the Text And Image component
- Within the text field, clic on the Source plugin and check it switched from <h2> tags to <p> tags
- Now if you save the component, the <h2> tags have been switched to <p> tags and the text contained within the text field is not a header anymore
Acceptance criteria