[MGNLUI-6995] CKEditor: Enable Paragraph format plugin Created: 24/Dec/21  Updated: 24/Dec/21

Status: Open
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Quach Hao Thien Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2021-12-24-14-54-51-273.png     PNG File image-2021-12-24-14-55-22-367.png     PNG File image-2021-12-24-14-56-17-344.png    
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)

 Description   

Steps to reproduce

  1. Open contacts-v8.yaml definition
  2. Edit richtext field, add source: true as example below
  3. Go to contacts-v8 app and edit richtext in Source mode by clicking Source button on toolbar
  4.  Add the following: <h1> Hey Diddle Diddle </h1>, then switch to Normal mode
  5. Observe the content format
  6. Switch to Source mode again

 Example

richtext:
  label: rich text
  $type: richTextField
  source: true

 

Expected results

Content is formatted to h1 style

Actual results

When switching Normal mode to Source mode, the <h1> tag had been changed to <p> tag

Development notes:

Enable Format plugin (https://ckeditor.com/docs/ckeditor4/latest/features/format.html)


Generated at Mon Feb 12 09:42:05 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.