nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.83k stars 1.26k forks source link

How to detect target is editing mode, or disable double click to add text #924

Open ruaruababa opened 1 week ago

ruaruababa commented 1 week ago

<!--

Summary I want detect is editing mode to disable double click to add Text or any way disable this mode?

Screenshots If applicable, add screenshots to help explain your question. useEffect(() => { if (instant) { instant?.discardSelection() // maybe use this func but not working instant?.on('mousedown', (event, point) => { console.log('mousedown', event, point) }) } }, [instant]) Version Last version

ruaruababa commented 1 week ago

@cybaek @kyuwoo-choi @brendon

brendon commented 1 week ago

Not sure I’m able to add much to this? :) Wrong Brendon?

ruaruababa commented 1 week ago

Not sure I’m able to add much to this? :) Wrong Brendon?

3 people i can tag xD

brendon commented 1 week ago

I wouldn't expect any help here as this repo doesn't appear to be maintained anymore.