Open carstingaxion opened 10 months ago
@carstingaxion Can you share the full markup for the block? It can be copied from the block toolbar > options (⋮) > copy. Or from the code editor (command + option + shift + M
or control + alt + shift + M
) including everything from <!-- wp:a8c/starscape
to <!-- /wp:a8c/starscape -->
. Thank you!
Can you share the full markup for the block?
Sure. Thanks for replying @ajlende.
Steps to reproduce
```html
```html
Thanks for the details @carstingaxion.
I haven't been able to reproduce the issue yet.
I'm testing with these versions.
WordPress: 6.4
Starscape: 2.0.0
Gutenberg: deactivated
What are you using for each of these?
(I'll be out for a few days, but when I get back I can take another look)
I haven't made much progress, but I found another instance of the error.
```html
```html
The differences in this case are:
The differences in the earlier example are:
opacity
exists before, but not after.animation
exists after, but not before.The only thing that both have in common is that, somewhere along the line, newlines are getting added where they shouldn't on save. I wonder if it's related to block deprecations in Gutenberg instead of something here? Or maybe one of the block supports that we're using now modifies the content only on save, but not while editing?
I still haven't figured out what could be causing the other differences.
Unfortunately this nice block-experiment is only working anymore within the editor, not on the frontend. And it tells us about it.
Bildschirmaufzeichnung vom 05.12.2023, 10:38:26.webm
In the rendered block-output the looong inline CSS for
.wp-block-a8c-starscape__stars
are missing theanimation
property, which do exist in the rendered component in the editor.The console says: