Remove leftover console.log/trace

This commit is contained in:
Belén Albeza
2025-11-21 10:59:15 +01:00
parent d0d2f43ca1
commit 76f5c73de6
2 changed files with 0 additions and 3 deletions

View File

@@ -115,7 +115,6 @@ export function createTextSpan(textOrLineBreak, styles, attrs) {
textOrLineBreak instanceof Text &&
textOrLineBreak.nodeValue.length === 0
) {
console.trace("nodeValue", textOrLineBreak.nodeValue);
throw new TypeError("Invalid text span child, cannot be an empty text");
}
@@ -182,7 +181,6 @@ export function createVoidTextSpan(styles) {
* @returns {HTMLSpanElement}
*/
export function setTextSpanStyles(element, styles) {
console.log("setTextSpanStyles styles", element, styles);
return setStyles(element, STYLES, styles);
}

View File

@@ -789,7 +789,6 @@ export class SelectionController extends EventTarget {
if (this.#savedSelection) {
return this.#savedSelection.focusNode;
}
if (!this.#focusNode) console.trace("focusNode", this.#focusNode);
return this.#focusNode;
}