Issue #3483πŸ’¬ AnsweredOpened May 25, 2021by Palash-Mandal0 reactions

Hello @artf ,

Quick answerby artf

Please follow the issue template

Read full answer below ↓

Question

Hello @artf , Many Many Thanks for previous help. I am fresher in development. Please help me with below I need a modal where I will get user input Like Block Name, Category, HTML, CSS, JS then click on save to store that as new block manager. Mean how to pass those data and store them as dragabe component I have made the button to call modal and set title also content but editor not initiated image function buildCodeEditor(type) { var codeEditor = editor.CodeManager.getViewer('CodeMirror').clone(); codeEditor.set({ codeName: type === 'html' ? 'htmlmixed' : 'css', readOnly: false, theme: 'hop...

Answers (2)

artfβ€’ May 25, 2021

Please follow the issue template

GJSBlockβ€’ May 17, 2026

Thanks for reporting this, @Palash-Mandal. Great question about *. The recommended approach with StyleManager is to use the event-driven API. Start here: Check the GrapesJS documentation for your specific module Look for the on() event listener method Most operations can be achieved by listening to...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.