mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-15 17:31:23 +02:00
use underscore for italics so it doesn't collide with bold when toggling
This commit is contained in:
parent
fe482258ac
commit
48247e66be
@ -460,7 +460,7 @@ export default class BasicMessageEditor extends React.Component {
|
||||
toggleInlineFormat(range, "**");
|
||||
break;
|
||||
case "italics":
|
||||
toggleInlineFormat(range, "*");
|
||||
toggleInlineFormat(range, "_");
|
||||
break;
|
||||
case "strikethrough":
|
||||
toggleInlineFormat(range, "<del>", "</del>");
|
||||
|
Loading…
x
Reference in New Issue
Block a user