File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
lib/web/mage/adminhtml/wysiwyg/tiny_mce Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ define([
67
67
* Setup TinyMCE4 editor
68
68
*/
69
69
setup : function ( mode ) {
70
- var settings ;
70
+ var settings ,
71
+ self = this ;
71
72
72
73
this . turnOff ( ) ;
73
74
74
75
if ( typeof mode === 'undefined' ) {
75
76
mode = this . mode ;
76
77
}
77
- var self = this ;
78
78
79
79
if ( this . config . plugins ) {
80
80
this . config . plugins . forEach ( function ( plugin ) {
@@ -100,8 +100,11 @@ define([
100
100
if ( jQuery . isReady ) {
101
101
tinyMCE4 . dom . Event . domLoaded = true ;
102
102
}
103
- settings = this . getSettings ( ) ;
104
- settings . mode = mode ; tinyMCE4 . init ( settings ) ; this . getPluginButtons ( ) . hide ( ) ;
103
+
104
+ settings = this . getSettings ( ) ;
105
+ settings . mode = mode ;
106
+ tinyMCE4 . init ( settings ) ;
107
+ this . getPluginButtons ( ) . hide ( ) ;
105
108
} ,
106
109
107
110
/**
You can’t perform that action at this time.
0 commit comments