Skip to content

Cannot change style manager sector names on UI #6031

Answered by glaprida
kla-ko asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure why that doesn't work, but there are other ways you can do the same thing.

You can either define your sectors with a different name from the start (on the styleManager config inside editor.init() ) or make use of the i18n module.

Defining sector name in styleManager config

const editor = grapesjs.init({
   // options
   styleManager: {
     sectors: [
        {
          name: 'Allgemein',//previously 'General'
          open: false,
          properties: ['display', 'float', 'position', 'top', 'right', 'left', 'bottom'],
        },
        {
          name: 'Abmessungen',//previously 'Dimension'
          open: false,
          properties: ['width', 'height', 'max-width', 'min-h…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kla-ko
Comment options

@artf
Comment options

artf Aug 4, 2024
Maintainer

Answer selected by kla-ko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants