carstenschaefer / DrawerJs

A customizable WYSIWYG HTML canvas editor.
https://www.drawerjs.com
MIT License
556 stars 113 forks source link

For “EVENT_CANVAS_MODIFIED” and “EVENT_OBJECT_ADDED”, Into an infinite loop when sending websocket messages #32

Open zw12579 opened 5 years ago

zw12579 commented 5 years ago

Hello: I want to get changes to the canvas content through these two events for “EVENT_CANVAS_MODIFIED” and “EVENT_OBJECT_ADDED”. Into an infinite loop when sending websocket messages。I want to listen to changes in content and send data to the backend。what should I do ? thanks

image

image