Closed versusbassz closed 2 years ago
I don't remember for now what was the idea, unfortunately. Maybe, I'll reproduce an issue in the future during development.
I think, it was about huge serialized values, e.g.: wp_yoast_notifications
. post_content
is a about the same problem, I think.
Sometimes, you just want to hide them or decrease their height like in ACF repeaters.
Raw value:
Pretty value:
Done.
In fact, it's a "Spoiler" functionality.
The decision about to apply a spoiler to a value or not to apply is made in javascript logic (enabled
prop of Spoiler
component).
The possible implemention:
toggle: true
true
add +/- toggle button (pos:a, r0, t0
, visible on hover) to a related value