[MGNLUI-4178] Support ckeditor extra plugin imageresponsive and make 'srcset' image attribute effective Created: 28/Mar/17  Updated: 08/Mar/21  Resolved: 08/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: vaadin integration
Affects Version/s: 5.4.11, 5.5.2
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
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)
Date of First Response:

 Description   

Currently we cannot make 'srcset' image attribute effective even using 'source view editor' in our CKEditor.
By supporting extra plugin 'imageresponsive' we hope this could work.
Steps:
open Tour app and open any tour for editing, edit its body using below source, switch back and forth in 'source' view and 'srcset' attribute will disappear. Note that the data still saved into JCR and after saving we still able to use it in our front-end page.
Sample code:

<p>
  <img src="http://streaming1.danviet.vn/upload/1-2017/images/2017-03-27/14906333904788-unnamed--6-.jpg" 
  srcset="http://streaming1.danviet.vn/upload/1-2017/images/2017-03-27/14906333904788-unnamed--6-.jpg 1x, http://streaming1.danviet.vn/upload/1-2017/images/2017-03-27/14906333904788-unnamed--6-.jpg 2x" />
</p>


 Comments   
Comment by Roman Kovařík [ 08/Mar/21 ]

Closing this as the related support ticket is inactive.

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