stuff
This commit is contained in:
parent
c6328e2a3e
commit
ebc6dce5be
Binary file not shown.
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 8.0 KiB |
|
@ -142,7 +142,7 @@ module.exports = (_ => {
|
|||
}
|
||||
|
||||
processChannelTextAreaContainer (e) {
|
||||
if (e.returnvalue.ref && e.returnvalue.ref.current && BDFDB.DOMUtils.getParent(BDFDB.dotCN.chatform, e.returnvalue.ref.current)) {
|
||||
if (e.instance.props.type == BDFDB.DiscordConstants.TextareaTypes.NORMAL) {
|
||||
let [children, index] = BDFDB.ReactUtils.findParent(e.returnvalue, {name: "SlateCharacterCount"});
|
||||
if (index > -1) {
|
||||
let text = BDFDB.LibraryModules.SlateSelectionUtils.serialize(children[index].props.document, "raw");
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 9.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 82 KiB |
Loading…
Reference in New Issue