TOAST UI Image Editor
What's Included
- Free to download & use
- Open for personal & commercial use
Support The Creator
Use one-time or monthly support to thank the creator for this free product.
GrapesJS Compatible
Tested with GrapesJS 0.19.x, 0.18.x, 0.17.x, 0.16.x
Open Source on GitHub
Free to use, fork, and contribute
Editor Compatible
Designed for the GrapesJS open-source editor
Free to Use
Open for personal and commercial projects
Selecting an image in GrapesJS normally means swapping it for another file. This plugin adds an editing step: a toolbar button on every image component opens the TOAST UI Image Editor in a modal, and the edited result replaces the original.
How it works
The plugin registers a tui-image-editor command that takes a target — the component whose image is being edited. On confirm, GrapesJS takes the modified image, adds it to the Asset Manager and updates the target component.
Options
config— the TOAST UI configuration object, including which menu opens first.onApply— replace the default save behaviour with your own logic, receiving the editor instance and the image model.upload— when set, the edited image is passed through the Asset Manager's uploader first, so the component receives a hosted URL instead of a data URL.addToAssets— whether the result is stored in the Asset Manager. On by default.heightandwidth— modal dimensions, defaulting to650pxand100%.hideHeader,toolbarIcon,labelApplyandlabelImageEditor— cosmetic control over the modal and the toolbar button.scriptandstyle— the assets loaded dynamically when no TOAST UI constructor is found on the page.
Good to know
Install as grapesjs-tui-image-editor. BSD-3-Clause.
Ratings:
No reviews yet. Be the first to share your experience.
Questions & Answers
No questions yet. Have something to ask?
Common problems this plugin can help fix
Real community questions on the same topic — see how others worked around them.
- #4529✓ Solved · 4
When we resize an image with a class 'xyz', all the elements on the page with same class also gets resized because editor adds css to those classes.
- #4191💬 4 answers
We are trying to store the data from grapesJS editor in Angular 10 application, getting CORS error, image attached below
- #2356✓ Solved · 3
Add link on image in grapsjs editor
- #2281💬 3 answers
How to set default custom ratio for image crop while open image editor
