mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
Disable "syntax highlighting" in MD mode (RTE)
This commit is contained in:
parent
65ce8c2113
commit
ab3b6497f9
@ -146,9 +146,9 @@ export function getScopedMDDecorators(scope: any): CompositeDecorator {
|
||||
</a>
|
||||
)
|
||||
});
|
||||
markdownDecorators.push(emojiDecorator);
|
||||
|
||||
return markdownDecorators;
|
||||
// markdownDecorators.push(emojiDecorator);
|
||||
// TODO Consider renabling "syntax highlighting" when we can do it properly
|
||||
return [emojiDecorator];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user