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

工具栏的字体和字号展示 能不能换成中文的展示,例如: “标题一、标题二” #4548

Open
LZGcandy opened this issue Dec 31, 2024 · 1 comment

Comments

@LZGcandy
Copy link

No description provided.

@hrl0
Copy link

hrl0 commented Jan 2, 2025

Don't think there's a out-of-the-box way from Quill but you can achieve it by having a customised tool bar together with the quill editor.

then you can use editor.format() to update the size - https://quilljs.com/docs/api#formatting

Screenshot 2025-01-03 at 10 22 13 am

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

No branches or pull requests

2 participants