Open goldenapples opened 9 years ago
This morning we got a report of slow List content type that is heavy with Post element gifs.
Convo with Dodai: https://fusionnetwork.slack.com/archives/edit-tech/p1435842468002515
Granted this post will have 50+ list items each with a gif in them but the editor is experiencing extremely slow scrolling speeds on the page. Just noting here so that we can have this tracked I have not gotten many requests of slow WP editor experiences but will keep an ear out for them now.
@goldenapples and I chatted about the situation and potentials for improvements in slack here: https://fusionnetwork.slack.com/archives/tech/p1435842625005052
It strikes me that this would be a way of solving several rendering-related issues, including #407 and #372.
We could add a way for shortcodes to return some attributes like suggested dimensions, float value, or basic css styles, along with the shortcode markup.
This would involve a few steps:
do_shortcode
and augment it with additional functionality available in shortcodes which were registered with Shortcake.shortcode_ui_register_for_shortcode
, maybe something likeshortcode_preview_helpers_register_for_shortcode
. Developers who wanted to offer additional layout tips for their shortcodes could do that there by registering a function or static value to be returned for one or more attribute fields:display: inline;