quill
quill copied to clipboard
I hope to provide features for customizing themes
I found a document that introduces the use of built-in snow and bubble themes, but it doesn't explain how to customize a new theme or extend based on the built-in themes.
https://quilljs.com/docs/customization/themes#customization
I hope to improve the features and documentation related to theme customization.
Define a them class:
class MyCustomTheme extends SnowTheme {
constructor(quill, options) {
// code
}
// other code
}
Usage:
import MyCustomTheme from './my-custom-theme.ts'
Quill.register('themes/my-custom-theme', MyCustomTheme)
Thanks!