From d827ce686aee33e4f3c7671d0068fa9b7e762ab7 Mon Sep 17 00:00:00 2001 From: Samuel Georges Date: Sun, 14 Jun 2015 14:13:15 +1000 Subject: [PATCH] Minor tweaks --- modules/backend/formwidgets/richeditor/assets/js/build-min.js | 2 +- modules/backend/formwidgets/richeditor/assets/js/richeditor.js | 2 +- modules/cms/formwidgets/mediafinder/partials/_image_single.htm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/backend/formwidgets/richeditor/assets/js/build-min.js b/modules/backend/formwidgets/richeditor/assets/js/build-min.js index 8d8952799..341ec05ff 100755 --- a/modules/backend/formwidgets/richeditor/assets/js/build-min.js +++ b/modules/backend/formwidgets/richeditor/assets/js/build-min.js @@ -1896,7 +1896,7 @@ if(!this.$textarea.attr('id')){this.$textarea.attr('id','element-'+Math.random() var redactorOptions={imageEditable:true,imageResizable:true,buttonSource:true,removeDataAttr:false,syncBeforeCallback:this.proxy(this.onSyncBefore),focusCallback:this.proxy(this.onFocus),blurCallback:this.proxy(this.onBlur),keydownCallback:this.proxy(this.onKeydown),enterCallback:this.proxy(this.onEnter),changeCallback:this.proxy(this.onChange),initCallback:function(){self.build(this)}} if(this.options.fullpage){redactorOptions.fullpage=true} redactorOptions.plugins=['fullscreen','figure','table','mediamanager'] -redactorOptions.buttons=['formatting','bold','italic','unorderedlist','orderedlist','link','horizontalrule','html'],this.$textarea.redactor(redactorOptions) +redactorOptions.buttons=['html','formatting','bold','italic','unorderedlist','orderedlist','link','horizontalrule'],this.$textarea.redactor(redactorOptions) this.redactor=this.$textarea.redactor('core.getObject') this.$editor=this.redactor.$editor} RichEditor.prototype.dispose=function(){this.unregisterHandlers() diff --git a/modules/backend/formwidgets/richeditor/assets/js/richeditor.js b/modules/backend/formwidgets/richeditor/assets/js/richeditor.js index 1f1901ec6..a092bccbf 100755 --- a/modules/backend/formwidgets/richeditor/assets/js/richeditor.js +++ b/modules/backend/formwidgets/richeditor/assets/js/richeditor.js @@ -84,7 +84,7 @@ } redactorOptions.plugins = ['fullscreen', 'figure', 'table', 'mediamanager'] - redactorOptions.buttons = ['formatting', 'bold', 'italic', 'unorderedlist', 'orderedlist', 'link', 'horizontalrule', 'html'], + redactorOptions.buttons = ['html', 'formatting', 'bold', 'italic', 'unorderedlist', 'orderedlist', 'link', 'horizontalrule'], this.$textarea.redactor(redactorOptions) diff --git a/modules/cms/formwidgets/mediafinder/partials/_image_single.htm b/modules/cms/formwidgets/mediafinder/partials/_image_single.htm index 9e3c0b3d6..a798beaa1 100644 --- a/modules/cms/formwidgets/mediafinder/partials/_image_single.htm +++ b/modules/cms/formwidgets/mediafinder/partials/_image_single.htm @@ -6,7 +6,7 @@ -
+