This commit is contained in:
Mirco Wittrien 2019-12-21 16:57:39 +01:00
parent 28d996de32
commit f439d0f3da
3 changed files with 29 additions and 3 deletions

View File

@ -4500,6 +4500,7 @@
DiscordClassModules.ChannelTextAreaAttachButton = BDFDB.ModuleUtils.findByProperties("attachButton", "attachWrapper");
DiscordClassModules.ChannelTextAreaButton = BDFDB.ModuleUtils.findByProperties("buttonWrapper", "active");
DiscordClassModules.ChannelTextAreaCharCounter = BDFDB.ModuleUtils.findByProperties("characterCount", "error");
DiscordClassModules.ChannelTextAreaSlate = BDFDB.ModuleUtils.findByProperties("slateContainer", "placeholder");
DiscordClassModules.ChatWindow = BDFDB.ModuleUtils.findByProperties("chat", "channelTextArea");
DiscordClassModules.Checkbox = BDFDB.ModuleUtils.findByProperties("checkboxWrapper", "round");
DiscordClassModules.ColorPicker = BDFDB.ModuleUtils.findByProperties("colorPickerCustom", "customColorPickerInput");
@ -5867,6 +5868,9 @@
textareapickerbuttoncontainer: ["ChannelTextArea", "buttonContainer"],
textareapickerbuttons: ["ChannelTextArea", "buttons"],
textareascrollablecontainer: ["ChannelTextArea", "scrollableContainer"],
textareaslate: ["ChannelTextAreaSlate", "slateTextArea"],
textareaslatecontainer: ["ChannelTextAreaSlate", "slateContainer"],
textareaslateplaceholder: ["ChannelTextAreaSlate", "placeholder"],
textareauploadinput: ["ChannelTextAreaAttachButton", "uploadInput"],
textareawebkit: ["ChannelTextArea", "webkit"],
textareawrapall: ["ChannelTextArea", "channelTextArea"],

File diff suppressed because one or more lines are too long

View File

@ -1827,7 +1827,18 @@
<div class="REPLACE_CLASS_textareauploadinput">
<div class="file-input" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; opacity: 0; cursor: pointer;"></div>
</div>
<textarea rows="1" placeholder="Message to #general" class="REPLACE_CLASS_textarea">Edit Message</textarea>
<div class="REPLACE_CLASS_textarea REPLACE_CLASS_textareaslatecontainer">
<div class="REPLACE_CLASS_textareaslateplaceholder" aria-hidden="true">Edit Message</div>
<div aria-label="Edit Message" aria-multiline="true" data-slate-editor="true" data-key="66" contenteditable="true" class="REPLACE_CLASS_messagemarkup REPLACE_CLASS_textareaslate" autocorrect="off" spellcheck="true" role="textbox" tabindex="1" data-gramm="false" style="outline: none; white-space: pre-wrap; overflow-wrap: break-word; -webkit-user-modify: read-write-plaintext-only;">
<div data-slate-object="block" data-key="67" style="position: relative;">
<span data-slate-object="text" data-key="68">
<span data-slate-leaf="true" data-offset-key="68:0">
<span data-slate-zero-width="z" data-slate-length="0"><br></span>
</span>
</span>
</div>
</div>
</div>
<div class="REPLACE_CLASS_textareapickerbuttons">
<button tabindex="4" type="button" class="REPLACE_CLASS_emojibuttonnormal REPLACE_CLASS_textareapickerbutton REPLACE_CLASS_button REPLACE_CLASS_buttonlookblank REPLACE_CLASS_buttoncolorbrand REPLACE_CLASS_buttongrow">
<div class="REPLACE_CLASS_buttoncontents">
@ -1872,7 +1883,18 @@
<div class="REPLACE_CLASS_textareauploadinput">
<div class="file-input" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; opacity: 0; cursor: pointer;"></div>
</div>
<textarea rows="1" placeholder="Message to #general" class="REPLACE_CLASS_textarea"></textarea>
<div class="REPLACE_CLASS_textarea REPLACE_CLASS_textareaslatecontainer">
<div class="REPLACE_CLASS_textareaslateplaceholder" aria-hidden="true">Message to #general</div>
<div aria-label="Message to #general" aria-multiline="true" data-slate-editor="true" data-key="66" contenteditable="true" class="REPLACE_CLASS_messagemarkup REPLACE_CLASS_textareaslate" autocorrect="off" spellcheck="true" role="textbox" tabindex="1" data-gramm="false" style="outline: none; white-space: pre-wrap; overflow-wrap: break-word; -webkit-user-modify: read-write-plaintext-only;">
<div data-slate-object="block" data-key="67" style="position: relative;">
<span data-slate-object="text" data-key="68">
<span data-slate-leaf="true" data-offset-key="68:0">
<span data-slate-zero-width="z" data-slate-length="0"><br></span>
</span>
</span>
</div>
</div>
</div>
<div class="REPLACE_CLASS_textareapickerbuttons">
<button tabindex="2" type="button" class="REPLACE_CLASS_textareabuttonwrapper REPLACE_CLASS_button REPLACE_CLASS_buttonlookblank REPLACE_CLASS_buttoncolorbrand REPLACE_CLASS_buttongrow">
<div class="REPLACE_CLASS_buttoncontents REPLACE_CLASS_textareabutton REPLACE_CLASS_textareapickerbutton">