app/assets/javascripts/adminpanel/bootstrap-wysihtml5.js in adminpanel-2.4.3 vs app/assets/javascripts/adminpanel/bootstrap-wysihtml5.js in adminpanel-2.5.0

- old
+ new

@@ -35,12 +35,10 @@ var size = (options && options.size) ? ' btn-'+options.size : ''; return "<li>" + "<div class='btn-group'>" + "<a class='btn" + size + "' data-wysihtml5-command='insertUnorderedList' title='" + locale.lists.unordered + "' tabindex='-1'><i class='fa fa-list-ul'></i></a>" + "<a class='btn" + size + "' data-wysihtml5-command='insertOrderedList' title='" + locale.lists.ordered + "' tabindex='-1'><i class='fa fa-list-ol'></i></a>" + - "<a class='btn" + size + "' data-wysihtml5-command='Outdent' title='" + locale.lists.outdent + "' tabindex='-1'><i class='fa fa-outdent'></i></a>" + - "<a class='btn" + size + "' data-wysihtml5-command='Indent' title='" + locale.lists.indent + "' tabindex='-1'><i class='fa fa-indent'></i></a>" + "</div>" + "</li>"; }, "link": function(locale, options) { @@ -86,11 +84,11 @@ "html": function(locale, options) { var size = (options && options.size) ? ' btn-'+options.size : ''; return "<li>" + "<div class='btn-group'>" + - "<a class='btn" + size + "' data-wysihtml5-action='change_view' title='" + locale.html.edit + "' tabindex='-1'><i class='fa fa-pencil'></i></a>" + + "<a class='btn" + size + "' data-wysihtml5-action='change_view' title='" + locale.html.edit + "' tabindex='-1'><i class='fa fa-code'></i></a>" + "</div>" + "</li>"; }, "color": function(locale, options) { @@ -387,10 +385,10 @@ var defaultOptions = $.fn.wysihtml5.defaultOptions = { "font-styles": true, "color": false, "emphasis": true, "lists": true, - "html": false, + "html": true, "link": true, "image": true, events: {}, parserRules: { classes: {