forked from Qortal/qortal-ui
remove logs
This commit is contained in:
parent
3cfdee7623
commit
6e4e171257
@ -330,7 +330,6 @@ class ChatTextEditor extends LitElement {
|
||||
}
|
||||
|
||||
async updated(changedProperties) {
|
||||
console.log({changedProperties});
|
||||
if (changedProperties && changedProperties.has('editedMessageObj')) {
|
||||
if (this.editedMessageObj) {
|
||||
this.chatEditor.insertText(this.editedMessageObj.message);
|
||||
@ -344,14 +343,8 @@ class ChatTextEditor extends LitElement {
|
||||
const captionEditor = this.shadowRoot.getElementById(this.iframeId).contentWindow.document.getElementById('chatbarId');
|
||||
captionEditor.setAttribute('data-placeholder', this.placeholder);
|
||||
}
|
||||
if (changedProperties && changedProperties.has("chatMessageSize")) {
|
||||
console.log(this.chatMessageSize, "chat message size");
|
||||
}
|
||||
if (changedProperties && changedProperties.has("iframeHeight")) {
|
||||
console.log(this.iframeHeight, "iframe height");
|
||||
}
|
||||
|
||||
if (changedProperties && changedProperties.has("imageFile")) {
|
||||
console.log(this.imageFile, "imageFile");
|
||||
this.chatMessageInput = "newChat";
|
||||
}
|
||||
}
|
||||
@ -372,7 +365,6 @@ class ChatTextEditor extends LitElement {
|
||||
}
|
||||
|
||||
getMessageSize(message){
|
||||
console.log("super12");
|
||||
try {
|
||||
const messageText = message;
|
||||
// Format and Sanitize Message
|
||||
@ -691,7 +683,6 @@ class ChatTextEditor extends LitElement {
|
||||
if (e.type === 'keydown') {
|
||||
await new Promise((res, rej) => {
|
||||
setTimeout(() => {
|
||||
console.log(editorConfig.editableElement.contentDocument.body.querySelector("#chatbarId").innerHTML, "here 18");
|
||||
editorConfig.calculateIFrameHeight(editorConfig.editableElement.contentDocument.body.scrollHeight);
|
||||
editorConfig.getMessageSize(editorConfig.editableElement.contentDocument.body.querySelector("#chatbarId").innerHTML);
|
||||
}, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user