QuestionQ44

VerifiedAdobe Experience Manager Sites

After creating a Custom_Module, an Adobe Commerce Developer has added a new Page Builder viewport for tablet devices, but the viewport’s tablet selector button is missing.

The button .svg has been correctly added at: Custom_Module/web/css/images/switcher/switcher-tablet.svg.

How should the developer implement the viewport button icon?

Explanation

Page Builder viewport switcher buttons obtain their icon URL from the icon node in the relevant viewport configuration in view.xml. The node should reference the module asset, for example Custom_Module::css/images/switcher/switcher-tablet.svg; image and button-image are not the configuration nodes used for viewport button icons.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!