Jeff Wilkerson
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
15 additions and
15 deletions
-
index.d.ts
|
|
|
@ -675,23 +675,23 @@ declare namespace grapesjs { |
|
|
|
interface Panel extends Backbone.Model<PanelOptions> { } |
|
|
|
|
|
|
|
interface Button extends Backbone.Model<ButtonOptions> { } |
|
|
|
|
|
|
|
|
|
|
|
interface ButtonOptions { |
|
|
|
id: string; |
|
|
|
label: string; |
|
|
|
tagName: 'span'; |
|
|
|
className: string; |
|
|
|
command: string | ((editor: Editor, opts?: any) => void); |
|
|
|
context: string; |
|
|
|
buttons: any[]; |
|
|
|
attributes: object; |
|
|
|
options: object; |
|
|
|
active: boolean; |
|
|
|
dragDrop: boolean; |
|
|
|
togglable: boolean; |
|
|
|
runDefaultCommand: boolean; |
|
|
|
stopDefaultCommand: boolean; |
|
|
|
disable: boolean; |
|
|
|
label?: string; |
|
|
|
tagName?: 'span'; |
|
|
|
className?: string; |
|
|
|
command?: string | ((editor: Editor, opts?: any) => void); |
|
|
|
context?: string; |
|
|
|
buttons?: any[]; |
|
|
|
attributes?: { [key:string]: string}; |
|
|
|
options?: object; |
|
|
|
active?: boolean; |
|
|
|
dragDrop?: boolean; |
|
|
|
togglable?: boolean; |
|
|
|
runDefaultCommand?: boolean; |
|
|
|
stopDefaultCommand?: boolean; |
|
|
|
disable?: boolean; |
|
|
|
} |
|
|
|
|
|
|
|
interface ComponentView { |
|
|
|
|