Skip to content

Commit

Permalink
Fix #1456
Browse files Browse the repository at this point in the history
  • Loading branch information
benbro authored and jhchen committed May 16, 2017
1 parent 01e567e commit 523b287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function matchStyles(node, delta) {
if (style.fontStyle && computeStyle(node).fontStyle === 'italic') {
formats.italic = true;
}
if (style.fontWeight && computeStyle(node).fontWeight === 'bold') {
if (style.fontWeight && (computeStyle(node).fontWeight === 'bold' || computeStyle(node).fontWeight === '700')) {
formats.bold = true;
}
if (Object.keys(formats).length > 0) {
Expand Down

0 comments on commit 523b287

Please sign in to comment.