Prettified Code!
This commit is contained in:
@@ -124,7 +124,8 @@ export default class ChatInput extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const position = getCaretPosition(this.formMessageInput.current);
|
const position = getCaretPosition(this.formMessageInput.current);
|
||||||
const newHTML = inputHTML.substring(0, position) +
|
const newHTML =
|
||||||
|
inputHTML.substring(0, position) +
|
||||||
content +
|
content +
|
||||||
inputHTML.substring(position);
|
inputHTML.substring(position);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user