🐛 Fix not picking up font style / variant in new renderer

This commit is contained in:
Belén Albeza
2025-07-07 18:08:53 +02:00
parent a242962113
commit 098fd9fb0f
5 changed files with 30 additions and 5 deletions

View File

@@ -520,7 +520,6 @@ export function createRootFromHTML(html, style) {
const fragment = mapContentFragmentFromHTML(html, style);
const root = createRoot([], style);
root.replaceChildren(fragment);
console.log("ROOT", root);
return root;
}

View File

@@ -34,7 +34,6 @@ export function createRandomId() {
* @returns {HTMLElement}
*/
export function createElement(tag, options) {
console.log("createElement", options);
const element = document.createElement(tag);
if (options?.attributes) {
Object.entries(options.attributes).forEach(([name, value]) =>