Issue #3367Opened March 26, 2021by kerryj891 reactions

Modal template

Question

Is there a way for me to modify the template from a compiled state?

https://github.com/artf/grapesjs/blob/d3256e621bb43a537213ffcd86b10dc0bd070c0b/src/modal_dialog/view/ModalView.js#L1-L16

If not, what would be the cleanest way to insert title and content into a modal skeleton from our CMS for a tighter look and feel? I realize by doing that it would lose grapesjs modal open close events.

Answers (3)

kerryj89April 5, 20210 reactions

Thanks, but I was looking for a way to inject the content into my own modal. A lot of libraries have a modal template file or variable to do this.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.