diff --git a/w:/xxx-Dropbox/Dropbox/XGX-Work/xtcommerce_veyton/full source code/4.2.00/xtFramework/library/ckeditor/config.js b/veyton/plugins/xgx_site_setup/patches/xtFramework/library/ckeditor/config.js
index b00f0b5..9e099d1 100644
--- a/w:/xxx-Dropbox/Dropbox/XGX-Work/xtcommerce_veyton/full source code/4.2.00/xtFramework/library/ckeditor/config.js	
+++ b/veyton/plugins/xgx_site_setup/patches/xtFramework/library/ckeditor/config.js
@@ -32,9 +32,14 @@ CKEDITOR.editorConfig = function( config ) {
 
 	config.skin = 'moonocolor';
 
-    config.extraPlugins = 'youtube,justify';
+    config.extraPlugins = 'youtube,justify,templates,moveContentLeft,moveContentRight,inlineEditing,widget,lineutils,clipboard,shopWidget,';
+    config.contentsCss = CKEDITOR.getUrl( CKEDITOR.basePath + '../../../templates/xgx_verdandy/css/stylesheet.css');
+    config.bodyClass = 'ckeditor-backend-area';
+    config.extraAllowedContent = 'div[data-background-image](*); section(*); header(*); script[*]; iframe[*](*){*}; img(img-responsive)[data-smarty]; h1(*); h2(*); p(*); span(*)';
+	// do not allow width and height in style-attribute -> does work only above version 4.4.00 of CKEDITOR
+    //config.disallowedContent = 'img{width,height}';
 
-	// Se the most common block elements.
+    // Se the most common block elements.
 	config.format_tags = 'p;h1;h2;h3;pre';
 
     // autostart SCYAT
@@ -51,5 +56,36 @@ CKEDITOR.editorConfig = function( config ) {
 	//config.filebrowserBrowseUrl = null;
 	//config.filebrowserImageBrowseUrl = null;
 	//config.filebrowserFlashBrowseUrl = null;
-
+//console.log(CKEDITOR);
 };
+
+/**
+ * remove inline style attribute value from img tags to ensure responsive images in ckeditor view
+ * this rules only apply when instance is loaded (on save/open of new ckeditor instance)
+ */
+CKEDITOR.on('instanceReady', function (ev) {
+
+    ev.editor.dataProcessor.htmlFilter.addRules(
+        {
+            elements:
+            {
+                img: function (element) {                    
+                    element.attributes.style='';
+                }
+            }
+        });
+    ev.editor.dataProcessor.dataFilter.addRules(
+        {
+            elements:
+            {
+                img: function (element) {                    
+                    element.attributes.style='';
+                }
+            }
+        });
+});
+
+/**
+ * allow span tags to be empty (for icons)
+ */
+CKEDITOR.dtd.$removeEmpty['span'] = 0;
\ No newline at end of file
