getCurrentSelectedBlock

Retrieves the JSON structure of a selected component on the canvas of a marketing content item. Use this wire adapter when building a CMS extension for Marketing Cloud Next that interacts with components on the canvas.

  • data—the JSON structure of the selected component. Undefined if the user hasn't selected a component.