Merge pull request #3403 from matrix-org/bwindels/cider-italics

New composer: use underscore for italics so it doesn't collide with bold when toggling
pull/21833/head
Bruno Windels 2019-09-09 08:06:51 +00:00 committed by GitHub
commit 1422b1d73e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>");