File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "base_template" : " lib/website/templates/base.html" ,
3- "framework_version" : " 3.13.6 " ,
3+ "framework_version" : " 3.13.7 " ,
44 "modules" : {
55 "Calendar" : {
66 "color" : " #2980b9" ,
Original file line number Diff line number Diff line change 88
99bsEditor = Class . extend ( {
1010 init : function ( options ) {
11- this . options = $ . extend ( options || { } , this . default_options ) ;
11+ this . options = $ . extend ( { } , this . default_options , options || { } ) ;
1212 this . edit_mode = true ;
1313 if ( this . options . editor ) {
1414 this . setup_editor ( this . options . editor ) ;
@@ -100,7 +100,7 @@ bsEditor = Class.extend({
100100 active_toolbar_class : 'btn-info' ,
101101 selection_marker : 'edit-focus-marker' ,
102102 selection_color : 'darkgrey' ,
103- remove_typography : true ,
103+ remove_typography : false ,
104104 max_file_size : 1 ,
105105 } ,
106106
@@ -130,8 +130,10 @@ bsEditor = Class.extend({
130130 // remove custom typography (use CSS!)
131131 if ( this . options . remove_typography ) {
132132 var tmp = $ ( "<div></div>" ) . html ( html ) ;
133- // remove style attributes
134- tmp . find ( "*" ) . removeAttr ( "style" ) ;
133+ // remove style and font attribute
134+ tmp . find ( "*" )
135+ . removeAttr ( "style" )
136+ . removeAttr ( "font" ) ;
135137 html = tmp . html ( ) ;
136138 }
137139
You can’t perform that action at this time.
0 commit comments