Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<span> elements can't be deleted #3554

Open
TheCartographerDev opened this issue Aug 14, 2024 · 1 comment
Open

<span> elements can't be deleted #3554

TheCartographerDev opened this issue Aug 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@TheCartographerDev
Copy link

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 TheCartographerDev added the bug Something isn't working label Aug 14, 2024
@TheCartographerDev
Copy link
Author

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"}}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant