[MGNLUI-8000] Embed not working in a richTextField through HTML Source function. When editing the component, the embedded content disappear. Created: 13/Apr/23  Updated: 06/Jun/23

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

Type: Bug Priority: Normal
Reporter: Claudia Martín Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2023-04-17 at 12.42.35.png     PNG File image-2023-04-13-12-40-51-077.png     PNG File image-2023-04-13-12-42-09-415.png     PNG File image-2023-04-13-12-42-55-419.png    
Issue Links:
causality
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:
Epic Link: AuthorX Support
Team: AuthorX

 Description   

Steps to reproduce

  1. Add the following embedded content (<iframe> tag) to a richTextField, with the HTML Source button pressed.
    <iframe src="https://www.w3schools.com" title="W3Schools Free Online Web Tutorials"></iframe>

  2. When saving, it works correctly
  3. But when trying to edit the component, the iframe tag disappears, even if I press the HTML Source button.

Expected results

The iframe tag appears in the editor source view.

Actual results 

The iframe tag is replaced as follows although in JCR is correctly stored.

<p>&nbsp;</p>

 

Thanks in advance and best regards,
Patricia.


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