File tree Expand file tree Collapse file tree 3 files changed +4
-54
lines changed
Expand file tree Collapse file tree 3 files changed +4
-54
lines changed Original file line number Diff line number Diff line change 77 initialize : function ( ) {
88 this . activeIndex = this . settings . get ( 'active_index' ) ;
99
10- this . fixStyles ( ) ;
10+ this . fixBoxStyleBorders ( ) ;
1111 this . setupAccordion ( ) ;
1212 this . setOpen ( ) ;
1313 this . listenToContentChanges ( ) ;
1414 } ,
1515
16- /**
17- * Styles are applied by default to editable areas of
18- * the editor. To make the element looks how you want, some styles
19- * need to be overwritten.
20- *
21- * Classes that are used are:
22- * - .editable-text
23- * - .paragraph
24- * - .ui-wrapper
25- * - .wsite-image
26- * - .wsite-*
27- * - (etc...)
28- */
29- fixStyles : function ( ) {
30- this . $el . find ( '.editable-text' ) . each ( function ( index ) {
31- $ ( this ) . attr ( 'style' , '' ) ;
32- } ) ;
33-
34- this . $el . find ( '.element' ) . each ( function ( index ) {
35- $ ( this ) . attr ( 'style' , '' ) ;
36- } ) ;
37-
38- this . fixBoxStyleBorders ( ) ;
39- } ,
40-
4116 /**
4217 * Listens to subtree modifications in the content areas
4318 * and resizes them as needed
Original file line number Diff line number Diff line change 77 initialize : function ( ) {
88 this . activeIndex = this . settings . get ( 'active_index' ) ;
99
10- this . fixStyles ( ) ;
11- this . setupAccordion ( ) ;
12- } ,
13-
14- /**
15- * Styles are applied by default to editable areas of
16- * the editor. To make the element looks how you want, some styles
17- * need to be overwritten.
18- *
19- * Classes that are used are:
20- * - .editable-text
21- * - .paragraph
22- * - .ui-wrapper
23- * - .wsite-image
24- * - .wsite-*
25- * - (etc...)
26- */
27- fixStyles : function ( ) {
28- this . $el . find ( '.editable-text' ) . each ( function ( index ) {
29- $ ( this ) . attr ( 'style' , '' ) ;
30- } ) ;
31-
32- this . $el . find ( '.element' ) . each ( function ( index ) {
33- $ ( this ) . attr ( 'style' , '' ) ;
34- } ) ;
35-
3610 this . fixBoxStyleBorders ( ) ;
11+ this . setupAccordion ( ) ;
3712 } ,
3813
3914 /**
Original file line number Diff line number Diff line change 11{
22 "manifest" : " 1" ,
3- "version" : " 1.3.1 " ,
3+ "version" : " 1.3.2 " ,
44 "locale" : {
55 "default" : " en-us" ,
66 "supported" : [
1111 {
1212 "path" : " files" ,
1313 "name" : " FAQ" ,
14- "version" : " 1.3.0 " ,
14+ "version" : " 1.3.2 " ,
1515 "settings" : {
1616 "config" : {},
1717 "properties" : [
You can’t perform that action at this time.
0 commit comments