审查视图

app/types/tinymce.d.ts 255 字节
202304001 authored
1 2 3 4 5 6 7 8 9
// tinymce.d.ts

declare module "tinymce" {
  interface Editor {
    ui: {
      registry: {
        addButton: (id: string, settings: Record<string, any>) => void;
      };
    };
202304001 authored
10 11
    getContent(): string;
    insertContent(content: string): void;
202304001 authored
12 13
  }
}