use underscore for italics so it doesn't collide with bold when toggling
This commit is contained in:
parent
fe482258ac
commit
48247e66be
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ export default class BasicMessageEditor extends React.Component {
|
||||||
toggleInlineFormat(range, "**");
|
toggleInlineFormat(range, "**");
|
||||||
break;
|
break;
|
||||||
case "italics":
|
case "italics":
|
||||||
toggleInlineFormat(range, "*");
|
toggleInlineFormat(range, "_");
|
||||||
break;
|
break;
|
||||||
case "strikethrough":
|
case "strikethrough":
|
||||||
toggleInlineFormat(range, "<del>", "</del>");
|
toggleInlineFormat(range, "<del>", "</del>");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue