more logs

This commit is contained in:
nick-delirium 2025-05-15 11:27:24 +02:00
parent 5bcc89802c
commit 1fba55d2d7
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -393,8 +393,10 @@ export default abstract class Observer {
this.inlinerOptions?.forcePlain,
(cssText: string, fakeTextId: number) => {
this.app.send(CreateTextNode(fakeTextId, id, 0))
const msg = SetCSSDataURLBased(fakeTextId, cssText, this.app.getBaseHref())
console.log('fakeTextId', fakeTextId, 'node parent', id, 'cssText', msg)
setTimeout(() => {
this.app.send(SetCSSDataURLBased(fakeTextId, cssText, this.app.getBaseHref()))
this.app.send(msg)
}, 10)
}
)