Bogdan Chadkin bb7b7f73ab Improve instance selection (#1233)
"Click" based implemention had aa few important bugs. Selecting other
instance was not possible when some text was selected in editing mode.
This is consequence of a fix when other instance is selected user select
text and move cursor outside of editor while still selecting.

Here's how all solved. We track both mousedown and mouseup. When their
targets are different we do nothing because this is most likely text
selection or drag'n'drop.

Editing state a little simplified by just looing for closest
contenteditable instead of editing id comparison.

Instance address now computed by traversing dom.
2023-03-13 23:40:19 +03:00
2023-03-13 15:16:42 +01:00
2022-07-04 19:59:42 +02:00
2023-01-29 18:05:13 +03:00
2023-03-13 18:42:26 +03:00
2023-03-02 11:05:44 +01:00
2022-07-22 19:18:21 +00:00
2023-02-21 19:37:43 +03:00
2022-06-22 15:00:00 +02:00
2022-03-13 04:22:21 +00:00
2023-03-13 15:16:42 +01:00
2023-02-14 11:15:24 +01:00

Webstudio Builder

Webstudio Builder is a NoCode Visual Tool inspired by Webflow. It is the place where you can build your site or app visually.

Contributing

Don't hesitate to reach out of you have questions around contributing to the project.

Contributing guide

Community

Twitter

Discussions

Discord

Languages
TypeScript 98.9%
PLpgSQL 0.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%