The new [SD.Next Kanvas](https://github.com/vladmandic/sdnext-kanvas) TypeScript module may be useful as a Pro Component, due to the [ongoing challenges](https://github.com/gradio-app/gradio/issues/12525) with the upstream ImageEditor component. Some Python enabling code is available [here](https://github.com/vladmandic/sdnext/blob/e0cadf015908c58df2692a11c59243d15c0c69a4/modules/ui_control_helpers.py#L83), [here](https://github.com/vladmandic/sdnext/blob/e0cadf015908c58df2692a11c59243d15c0c69a4/modules/gr_hijack.py#L15), and [here](https://github.com/vladmandic/sdnext/blob/e0cadf015908c58df2692a11c59243d15c0c69a4/modules/masking.py#L573) for review.