llaske / sugarizer

Sugarizer is a web implementation of the Sugar platform to run on any device or browser
https://sugarizer.org
Apache License 2.0
195 stars 410 forks source link

Fotoon globe also get deleted with the deletion of image #1597

Closed hharshas closed 3 months ago

hharshas commented 3 months ago

fototoonissue The globe added earlier behaved correctly, the issue only persists with the globe added after inserting an image. @llaske

llaske commented 3 months ago

Not sure to understand where is the issue.

hharshas commented 3 months ago

@llaske When I insert an image and then add a globe, deleting the image also deletes all the globes added after it. However, the globe added before inserting the image remains staged. To clarify, in the above gif, when I press the delete button for the image, the globe added after that image also gets deleted.

llaske commented 3 months ago

Yes but one page is one image. It has no sense to have a globe without an image. So it's the expected behavior.

hharshas commented 3 months ago

My mistake, I didn't consider that inserting a new image creates a new page. The globe will have no context without that page. I am closing the issue.