Issue #3459Opened May 16, 2021by anlumo1 reactions

BUG: DomComponents' Config Incorrect

Question

Version: 0.17.3

What is the expected behavior?

The documentation says that I can configure the wrapper element via the configuration:

https://github.com/artf/grapesjs/blob/0027dcd1194715eeaf4b24db878dd7ebac069cc4/src/dom_components/config/config.js#L6-L24

Describe the bug detailed

I don't think that this configuration is used anywhere. A text search through the project for “wrapperName” returns only place I linked above itself. Searching for “wrapper” is not feasible unfortunately due to the high number of false positives.

I am able to configure the wrapper element after initialization using the object returned by editor.getWrapper().

Answers (1)

artfMay 22, 20211 reactions

Yeah, actually the name, by default, is managed via i18n configuration. From 0.17.* version even the wrapper option is not necessary anymore as now you should extend the wrapper component as all others (in previous versions the wrapper was initialized before plugins). I'll remove them in the next release 👍

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.