You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with canvas is that from a DOM-perspective they are like images, a black box. So applying modifications to them requires special attention. I looked into that a while ago for AppD and the only solution I could come up with was very specific to the APIs of the product.
follow up on that: What could work is monkey patching the related APIs of canvas (see here: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_text?retiredLocale=de): So when those APIs are called they go through a list of replacements from DemoMonkey end then call the original command. This of course comes with lots of problems & only works when the text is created for the first time.
If you (or anybody) else is up for that challenge I am happy to take a contribution for that.
svrnm
changed the title
Feature Request: Ability to apply DemoMonkey to canvas labels
[Feature Request] Ability to apply DemoMonkey to canvas labels
Dec 12, 2024
Ability to apply DemoMonkey to canvas labels
The text was updated successfully, but these errors were encountered: