Imported HTML, I can move components but not edit them
Question
All I did was import HTML, except I can't modify the text in the HTML
I can't type anything or remove any text
const editor = window.grapesjs.init({
storageManager: {
autoload: 0,
},
plugins: ['gjs-plugin-filestack'],
pluginsOpts: {
'gjs-plugin-filestack': {
key: process.env.REACT_APP_FILESTACK_KEY,
filestackOpts: {
accept: 'image/*',
maxFiles: 10,
storeTo: {
location: 's3',
path: `/${btoa(this.props.application_id)}/`,
container: process.env.REACT_APP_FILESTACK_CONTAINER,
region: 'us-east-1',
},
},
},
},
inlineCss: true,
showDevices: false,
autorender: false,
container: '#gjs',
})
editor.render()
editor.setComponents(template)
Answers (3)
This is the HTML that I am using https://pastebin.com/wNseLeqh is it because text is not wrapped in <p> ?
This happens because td component is not editable, so the easiest solution would be, as you already get it, to wrap it inside some other component. Otherwise, you should extend the TableCell
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 #384
Create and Edit Template into Database
This is my code to Create a new template and insert the inline html with style into the database : I am able to insert the template-data in...
Issue #1519
[QUESTIONS]: Init components in grapesjs.init
Is it possible to initialise the components at grapesjs.init. We are not using StorageManager.load. We already have the project data at ini...
Issue #509
Span are not editable as text
Hello Artf, I have a problem when importing some html templates. I was initially not able to see span texts. But after helping the editor r...
Issue #620
Remote Storage
I'm trying to use the remote storage but no success, with the resolved issues I manage to adjust eveything as it best, but editor do not re...
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.