fix: remove debugging statements

This commit is contained in:
sokumon 2025-05-15 11:39:46 +05:30
parent 5ce2f4e415
commit 9c3deb2bc2

View file

@ -310,7 +310,6 @@ frappe.ui.form.ControlTextEditor = class ControlTextEditor extends frappe.ui.for
}
set_formatted_input(value) {
console.log(value);
if (!this.quill) return;
if (value === this.get_input_value()) return;
if (!value) {
@ -320,14 +319,12 @@ frappe.ui.form.ControlTextEditor = class ControlTextEditor extends frappe.ui.for
}
// set html without triggering a focus
console.log(value);
const delta = this.quill.clipboard.convert(
{ html: value, text: "" },
{
image: MyImage,
}
);
console.log(delta);
this.quill.setContents(delta);
}