How to add shape's block on blockmanager in grapesjs
Question
Hello All, I am new in greapsjs. i have a query is it possible to add shapes( Rectangle , Triangle , Square) on blockmanager as we add sections. i want to add shape's block on block manager and when i drop this shape on canvas then it should be appear there just like other blocks such as sections. please let me know
Answers (2)
You can put inside blocks any HTML/SVG/CSS you want, how you achieve the result (Rectangle , Triangle , Square) it's up to you
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1951
[QUESTIONS] change or add event on add component from block
is it possible ?, change the drag and drop event to on click when adding a new component, I want to add components by clicking the block th...
Issue #1733
How to remove script tag which is added by add block manager script
Hello @artf I want to export final/production based html content excluding the script(Only which is added by block manager). Suppose i am a...
Issue #1514
How to add video block on blockManager
Hello All. i want to add a video block on blockmanager same as mentioned on below snapshot i am using following code for adding video block...
Issue #1294
How to add category for default block manager?
@artf I want put all default blocks to category named "Basic". But I can't find any documents about it. I use editor.BlockManager.getAll()....
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.