Minor tweaks
This commit is contained in:
parent
18c25d6371
commit
d827ce686a
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<!-- Find Button -->
|
||||
<a href="javascript:;" class="find-button">
|
||||
<table><tr><td class="oc-icon-folder"></td></tr></table>
|
||||
<table><tr><td class="oc-icon-image"></td></tr></table>
|
||||
</a>
|
||||
|
||||
<!-- Existing value -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue