Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block Inserter - Need a Preview for Each Block > Is an SVG Doable? #411

Open
6 tasks
ZaredRogers opened this issue Oct 11, 2024 · 0 comments
Open
6 tasks
Assignees
Labels
[Component] Block Settings [Component] Editor Everything related to the block editor or site editor [Status] Needs Testing Issues needing testing [Type] Task Issues or PRs that have been broken down into an individual action to take
Milestone

Comments

@ZaredRogers
Copy link
Contributor

Description:

We need to create previews for each block in the Block Inserter to give users a visual representation of the block before inserting it into the page. The ideal approach would be to use SVGs for these previews to ensure scalability and clarity.

Requirements:

  • Investigate whether SVG previews can be used in the Block Inserter.
  • Create SVG previews for each block in the plugin.
    • Ensure the SVG previews accurately represent the layout and functionality of the block.
    • SVGs should be lightweight and scalable for optimal performance.
  • Test the SVG previews for compatibility with the WordPress Block Editor and ensure they display correctly in the Block Inserter.

Acceptance Criteria:

  • SVG previews for each block are implemented and visible in the Block Inserter when hovered over.
  • The previews are clear, visually represent the block’s layout, and are scalable without loss of quality.
  • The SVGs do not negatively impact the performance of the Block Editor.

Additional Notes:

  • If SVGs are not feasible, explore other methods for creating previews that are lightweight and compatible with the WordPress Block Editor.
@ZaredRogers ZaredRogers added [Status] Needs Testing Issues needing testing [Type] Task Issues or PRs that have been broken down into an individual action to take [Component] Editor Everything related to the block editor or site editor [Component] Block Settings labels Oct 11, 2024
@ZaredRogers ZaredRogers added this to the 2.0.0 milestone Oct 11, 2024
@ZaredRogers ZaredRogers self-assigned this Oct 11, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in Tour Operator Oct 11, 2024
@ZaredRogers ZaredRogers moved this from Needs Triage to 📥 Todo in Tour Operator Oct 11, 2024
@ashleyshaw ashleyshaw modified the milestones: 2.0.0, 2.1.0 Oct 13, 2024
@ashleyshaw ashleyshaw moved this from 📥 Needs Dev to Needs Design in Tour Operator Oct 13, 2024
@ZaredRogers ZaredRogers added this to the 2.0.0 milestone Oct 21, 2024
@ashleyshaw ashleyshaw modified the milestones: 2.0.0, 2.2.0 Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Block Settings [Component] Editor Everything related to the block editor or site editor [Status] Needs Testing Issues needing testing [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
Status: Needs Design
Development

No branches or pull requests

2 participants