mirror of https://github.com/vector-im/riot-web
Merge pull request #3403 from matrix-org/bwindels/cider-italics
New composer: use underscore for italics so it doesn't collide with bold when togglingpull/21833/head
commit
1422b1d73e
|
@ -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…
Reference in New Issue