Issue #2631💬 AnsweredOpened March 9, 2020by HansSchouten2 reactions

TextNoElement not working

快速解答by artf1

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

Read full answer below ↓

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, 2020

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

HansSchoutenMarch 10, 2020

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.