You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Remove logs
This commit is contained in:
@@ -1003,7 +1003,6 @@ export default class MessageComposerInput extends React.Component {
|
|||||||
|
|
||||||
removeMDLinks(contentState: ContentState, prefixes: string[]) {
|
removeMDLinks(contentState: ContentState, prefixes: string[]) {
|
||||||
const plaintext = contentState.getPlainText();
|
const plaintext = contentState.getPlainText();
|
||||||
console.info('Removing MD', plaintext);
|
|
||||||
if (!plaintext) return '';
|
if (!plaintext) return '';
|
||||||
return plaintext.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
|
return plaintext.replace(REGEX_MATRIXTO_MARKDOWN_GLOBAL,
|
||||||
(markdownLink, text, resource, prefix, offset) => {
|
(markdownLink, text, resource, prefix, offset) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user