1 wysihtml5.commands.bold = {
2 exec: function(composer, command) {
3 wysihtml5.commands.formatInline.execWithToggle(composer, command, "b");
6 state: function(composer, command) {
7 // element.ownerDocument.queryCommandState("bold") results:
9 // chrome: <b>, <strong>, <h1>, <h2>, ...
11 // opera: <b>, <strong>
12 return wysihtml5.commands.formatInline.state(composer, command, "b");