Issue #5020๐Ÿ’ฌ AnsweredOpened Mar 31, 2023by at-codes1 reactions

Changing Title Attribute on Views Panel Buttons Doesn't Persist

Quick answerby artfโค 1

Hi @at-codes titles for panel buttons are connected directly to i18n locale strings so you'll need to update those strings there. You can find more info about the i18n module here.

Read full answer below โ†“

Question

GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? ChromeReproducible demo link https://jsfiddle.net/em9kt2Lb/Describe the bug How to reproduce the bug? Implement the code below on editor load What is the expected behavior? Button titles change and stay changed What is the current behavior? Button titles change, but after clicking one of them it reverts back. If is necessary to execute some code in order to reproduce the bug, paste it here below: Code of Conduct[X] I agree to follow this project's Code of Conduct

Answers (2)

artfโ€ข Apr 5, 2023

Hi @at-codes titles for panel buttons are connected directly to i18n locale strings so you'll need to update those strings there. You can find more info about the i18n module here.

GJS Helperโ€ข May 17, 2026

The issue you're encountering, where button titles revert after being clicked, stems from directly manipulating the DOM elements of GrapesJS UI components. GrapesJS, like many modern web frameworks, manages its UI through underlying data models and views (often using Backbone.js internally for pane...

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 โ†’

Related tutorials

In-depth guides on the same topic.

All tutorials โ†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.