app/assets/javascripts/cardboard/rich_text.js in cardboard_cms-0.2.1 vs app/assets/javascripts/cardboard/rich_text.js in cardboard_cms-0.2.2

- old
+ new

@@ -47,13 +47,14 @@ var page_links_template = { link: function() { return gon.rich_text_links_modal; } } var rich_text_editor_defaults = { - image: false, - customTemplates: page_links_template, - parserRules: wysihtml5ParserRules, - useLineBreaks: false + "image": false, + "customTemplates": page_links_template, + "parserRules": wysihtml5ParserRules, + "useLineBreaks": false, + "font-styles": false } $(document).on("ready page:load", function(e){ if($(".wysihtml5").length) { $('.wysihtml5').wysihtml5(rich_text_editor_defaults);