Repository navigation
fix(dev): Enable Image tool tunes on dev page - #3060
Merged
Merged
Conversation
The dev page was using @editorjs/simple-image which doesn't support tunes (Stretch, withBorder, withBackground). This prevents testing those features on the local dev stand. Changes: - Replace SimpleImage with @editorjs/image including mock uploader - Fix seed data format from url to file.url structure The Image tool's Stretch, border, and background tunes are now available and functional on the dev page at index.html. Co-authored-by: Peter <neSpecc@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/fix-dev-page-image-stretch-c8ba
branch
from
November 24, 2026 16:21
92e2148 to
c7f2827
Compare
neSpecc
marked this pull request as ready for review
November 24, 2026 16:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The dev page (
index.html) uses@editorjs/simple-image, a basic image tool that doesn't support tunes like Stretch, withBorder, or withBackground. This prevents testing these features on the local dev stand.Root Cause
SimpleImage is a minimal tool designed for quick examples, but it lacks the tune system that the full Image tool provides.
Changes
@editorjs/simple-imageto@editorjs/imagewith a mock uploader configurationurltofile: { url }to match the Image tool's expected formatVerification
Tested locally on
http://localhost:3303:Before stretch:
The image block is aligned with the text column (~428px wide)
After toggling stretch:
The image block expands to full width (~683px), extending beyond the text column
All three tunes (Stretch image, With border, With background) are now available and functional in the block settings menu.
Testing Instructions
Notes
index.html)