Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way I can change the name of the "WYSIWYG" button? #3271

Open
TomatoYuyuko opened this issue Sep 30, 2024 · 1 comment
Open
Labels

Comments

@TomatoYuyuko
Copy link

No description provided.

@rawstream
Copy link

@TomatoYuyuko I have achieved this by setting a new language.

I copied over apps/editor/src/i18n/en-us.ts and made the required changes.
Then in my code:

import enUS from './path-to-my-i18n-file'
import { EditorCore } from '@toast-ui/editor'

EditorCore.setLanguage('custom-en-US', enUS)

Then set language to 'custom-en-US' in the editor options.

Does that help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants