Fix editing monospace text
This commit is contained in:
parent
46901ed65f
commit
bc10b6deb8
@ -30,7 +30,7 @@ export const markdownTags: {[type in MarkdownType]: MarkdownTag} = {
|
||||
entityName: 'messageEntityItalic'
|
||||
},
|
||||
monospace: {
|
||||
match: '[style*="monospace"], [face="monospace"]',
|
||||
match: '[style*="monospace"], [face="monospace"], pre',
|
||||
entityName: 'messageEntityPre'
|
||||
},
|
||||
strikethrough: {
|
||||
|
@ -131,6 +131,11 @@ $chat-helper-size: 36px;
|
||||
font-size: var(--messages-text-size);
|
||||
line-height: var(--line-height);
|
||||
|
||||
pre {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@include animation-level(2) {
|
||||
transition: height .1s;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user