Skip to content

Commit

Permalink
fix(text_color): 🐛 fix text color parser (#110)
Browse files Browse the repository at this point in the history
close #110
  • Loading branch information
Leecason committed Jun 12, 2020
1 parent 2a283e1 commit 97353db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/text_color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class TextColor extends Mark implements MenuBtnView {
style: 'color',
getAttrs: color => {
return {
color: this.options.colors.includes(color) ? color : '',
color,
};
},
}],
Expand Down

0 comments on commit 97353db

Please sign in to comment.