Index: lams_central/web/ckeditor/README.md =================================================================== diff -u -rc612e32f2eb43e457a3ed528a5e9fb0febddae06 -rf660e0aaeccaae59079e9fe1e64632bbb13bb8ad --- lams_central/web/ckeditor/README.md (.../README.md) (revision c612e32f2eb43e457a3ed528a5e9fb0febddae06) +++ lams_central/web/ckeditor/README.md (.../README.md) (revision f660e0aaeccaae59079e9fe1e64632bbb13bb8ad) @@ -322,4 +322,7 @@ - Add wordcount and notification plugins These plugins are required for checking max word count in essay questions. They are a part of CKEditor build file already, but they can be added manually too. -The sking office2013 does not have a notification.css file nor its import is added to editor.css. It can be taken from existing LAMS code or directly from another skin. \ No newline at end of file +The sking office2013 does not have a notification.css file nor its import is added to editor.css. It can be taken from existing LAMS code or directly from another skin. + + +- Add "img-responsive" class to all image tags generated by uploadimage plugin \ No newline at end of file Index: lams_central/web/ckeditor/plugins/uploadimage/plugin.js =================================================================== diff -u -rc612e32f2eb43e457a3ed528a5e9fb0febddae06 -rf660e0aaeccaae59079e9fe1e64632bbb13bb8ad --- lams_central/web/ckeditor/plugins/uploadimage/plugin.js (.../plugin.js) (revision c612e32f2eb43e457a3ed528a5e9fb0febddae06) +++ lams_central/web/ckeditor/plugins/uploadimage/plugin.js (.../plugin.js) (revision f660e0aaeccaae59079e9fe1e64632bbb13bb8ad) @@ -87,7 +87,9 @@ // Set width and height to prevent blinking. this.replaceWith( '' ); + 'height="' + height + '" ' + + // LAMS modification: always add img-responsive class to uploaded image tag + 'class="img-responsive">' ); } } );