Tiled Galleries: Remove external block view dependencies #28933
Labels
[Block] Tiled Gallery
[Goal] Gutenberg
Working towards full integration with Gutenberg
Jetpack
[Pri] Low
Address when resources are available.
[Type] Task
Make
view.js
completely independent without externally enqueued dependencies. Current dependencies (via) are:lodash
wp-i18n
wp-token-list
Lodash
Even if we just import small thing from
lodash
, the SDK externalizes it and we'd be required to enqueue all oflodash
.Another consideration is to change how SDK externalizes that library; perhaps only for
editor.js
?wp-i18n
Due to usage of layout styles, Tiled Galleries block view depends on i18n although it doesn't display the localized strings. Find a solution.
Via https://github.com/Automattic/wp-calypso/pull/27458/files#r227411941
wp-token-list
Used to pick default style if none is found.
The text was updated successfully, but these errors were encountered: