soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 29 forks source link

<span> elements can't be deleted #3554

Open TheCartographerDev opened 2 months ago

TheCartographerDev commented 2 months ago

Empty span(s) can't be deleted. You can delete a span if the content is still there, but if the content is delete the span stays in the layer window and can not be removed.

TheCartographerDev commented 2 months ago

Here is an example:

{"component":{"id":582,"name":"ct_text_block","options":{"ct_id":582,"ct_parent":593,"selector":"text_block-582-200","original":{"globalConditionsResult":true},"nicename":"text-textblock-text","activeselector":"text-textblock-text","ct_content":"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet,
","classes":["text-textblock-text"],"media":{"tablet":[]}},"depth":4,"children":[{"id":584,"name":"ct_span","options":{"ct_id":584,"ct_parent":582,"selector":"span-584-200","original":{"color":"#ff0000"},"nicename":"Span (#497)","ct_depth":4,"ct_content":"basemap.de Web Raster","activeselector":"section-textblock"},"depth":5},{"id":585,"name":"ct_span","options":{"ct_id":585,"ct_parent":582,"selector":"span-585-200","original":{"color":"#ff0000"},"nicename":"Span (#499)","ct_depth":4,"ct_content":"basemap.de Web Raster","activeselector":"text-textblock-header"},"depth":5},{"id":586,"name":"ct_span","options":{"ct_id":586,"ct_parent":582,"selector":"span-586-200","original":{"color":"#ff0000"},"nicename":"Span (#501)","ct_depth":4,"ct_content":"basemap.de Web Vektor","activeselector":"div-75"},"depth":5},{"id":587,"name":"ct_span","options":{"ct_id":587,"ct_parent":582,"selector":"span-587-200","original":{"color":"#ff0000"},"nicename":"Span (#503)","ct_depth":4,"ct_content":"basemap.de Web Raster","activeselector":"contact-form"},"depth":5},{"id":1179,"name":"ct_span","options":{"ct_id":1179,"ct_parent":582,"selector":"span-1179-323","original":{"color":"#ff0000","globalConditionsResult":true},"nicename":"Span (#1179)","ct_content":" basemap.de Web Vektor "},"depth":5},{"id":1181,"name":"ct_span","options":{"ct_id":1181,"ct_parent":582,"selector":"span-1181-323","original":{"color":"#ff0000","globalConditionsResult":true},"nicename":"Span (#1181)","ct_content":" basemap.de Web Raster "},"depth":5}]},"classes":{"text-textblock-text":{"key":"text-textblock-text","parent":"basemap","original":{"font-family":{"0":"global","1":"Text"},"width-unit":"%","min-width-unit":"%","font-size":"14","font-weight":"400","padding-top":"0","padding-left":"0","padding-right":"0","padding-bottom":"0","margin-left":"0","margin-right":"0","margin-top":"0","color":"#000000","margin-bottom":"0","width":"100"}}}}