Update CharCounter.plugin.js

This commit is contained in:
Mirco Wittrien 2021-07-28 21:41:52 +02:00
parent 38511028ab
commit 178a858854
1 changed files with 0 additions and 1 deletions

View File

@ -158,7 +158,6 @@ module.exports = (_ => {
}
processChannelTextAreaContainer (e) {
console.log(e);
let editorContainer = BDFDB.ReactUtils.findChild(e.returnvalue, {name: "ChannelEditorContainer"});
if (editorContainer && editorContainer.props.type && !editorContainer.props.disabled) {
if (!BDFDB.ArrayUtils.is(e.returnvalue.props.children)) e.returnvalue.props.children = [e.returnvalue.props.children];