format: function(element, content) { // Only handle tags with the font-weight: bold style if(element.style.fontWeight !== 'bold') { return content; } return '[b]' + content + '[/b]'; }