Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 798 forks source link

Blocks: Hiding vs overwriting saved content #14854

Open scruffian opened 4 years ago

scruffian commented 4 years ago

I noticed that in some blocks we replace the saved version of the blocks with a server side render (e.g. Calendly and OpenTable) whereas in others we append the server side render to the saved version and then hide the saved version (e.g. Eventbrite).

Is there a reason for taking one approach vs the other?

scruffian commented 4 years ago

We chatted about this in Slack and decided to replace the saved content when we have a server side rendered block and remove the associated CSS.