Issue #2631Opened March 9, 2020by HansSchouten2 reactions

textNoElement not working

Question

I am trying to update the textNoElement of the Style and TraitManager, but it does not seem to be working.

let editor = grapesjs.init({
  container: '#gjs',
  traitManager: {
    textNoElement: 'Hello Trait Manager'
  },
  styleManager: {
    textNoElement: 'Hello Style Manager',
  }
});

See the result here: https://jsfiddle.net/zrobkL80/5/

Also the default StyleManager sectors disappear, any suggestion on what I am doing wrong? I am using the the latest GrapesJS version (0.15.10).

Answers (2)

artfMarch 10, 20201 reactions

Those options were removed, you have to use the i18n module

HansSchoutenMarch 10, 20201 reactions

Ok thanks, I will look into it.

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.