Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-4178

Support ckeditor extra plugin imageresponsive and make 'srcset' image attribute effective

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Neutral Neutral
    • None
    • 5.4.11, 5.5.2
    • vaadin integration
    • None

      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>
      

        Acceptance criteria

              Unassigned Unassigned
              viet.nguyen Viet Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD