Skip to content

Commit

Permalink
fix: allow custom toolbar entries
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerCodeMonkey committed Aug 22, 2024
1 parent 7171fec commit 58fe9de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/ngx-quill/config/src/quill-editor.interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export interface CustomModule {
}

export type QuillToolbarConfig = Array<Array< string | {
[index: string]: string | number | boolean | Array<boolean | string | number>
indent?: string
list?: string
direction?: string
Expand Down Expand Up @@ -57,7 +58,7 @@ export interface QuillModules {
syntax?: boolean | { hljs: any }
table?: boolean | Record<string, unknown>
toolbar?: QuillToolbarConfig | string | {
container?: string | string[] | Record<string, string[] | string>[] | QuillToolbarConfig
container?: string | string[] | QuillToolbarConfig
handlers?: {
[key: string]: any
}
Expand Down

0 comments on commit 58fe9de

Please sign in to comment.