Skip to content

Fix behavior of "Open on StackBlitz" button #36364

@WinterSilence

Description

@WinterSilence

Prerequisites

Proposal

Need normalize copied examples:

  1. Remove "doc" classes like as .bd-placeholder-img
  2. Replace svg placeholders to images displaying svg file(<img src="/path/to/placeholder.svg" alt="">) like as:
<svg xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="#868e96"></rect>
<text x="50%" y="50%" text-anchor="middle" fill="#dee2e6">Image</text>
</svg>

Motivation and context

Get an example as close as possible to the real code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions