How to send value from the layout section
Question
@artf I need your help to solve my issue with grapesjs
i have this code in the template:

I want to pass that value in this way

but when I edit that part into "Blogger Campaign", it doesn't send the updated values, sent still "Campaign Title"
do you have a solution for this?
thanks before
Answers (2)
Use events
editor.on('storage:start:store', data => {
const compH1 = editor.DomComponents.getWrapper().find('#campaign_title')[0];
data.title = compH1 && compH1.getEl().innerText;
})
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 #1379
Question : how to replace style-manager font-awesome icon into svg?
hi @artf i Want to replace an icon of style manager with svg icon . As you can see screenshot attached. I tried dat way.
Issue #1387
Include all the google fonts?
@artf I want to include all the google fonts in font family. How can we include/import all the font family, Any help would be appreciated.
Issue #1780
How to change extra dropdown for link change trait
Hello @artf , I want to give one more functionality to user like user can change any link with default links drop down. In above image i wa...
Issue #1434
Toolbar Hide text element
@artf Please check you demo page text is hiding under the toolbar. how can we update the toolbar position?
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.