Issue #438Opened October 19, 2017by Geczy0 reactions

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)

artfOctober 20, 20170 reactions

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

lock[bot]September 18, 20190 reactions

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.

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.