Skip to content

Shortcode: Add the ability to preview the inserted shortcode #70519

@shubhtoy

Description

@shubhtoy

What problem does this address?

Currently, there is no way to preview the output of a shortcode when it is inserted using the Shortcode block. This can be frustrating for users, as they must rely on front-end previews or publish the page to see the actual rendered content. It is especially inconvenient when working with dynamic or visual shortcodes where immediate feedback is valuable.

What is your proposed solution?

Introduce a live preview capability within the Shortcode block, similar to how the HTML block offers a "Preview" tab. This enhancement would allow users to toggle between the raw shortcode input and its rendered output directly in the editor, improving the authoring experience and reducing the need to switch to the front-end to verify changes.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions