Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
12,333 additions
and
6,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md. | ||
*/ | ||
import { type PropType } from 'vue'; | ||
import type { EditorConfig } from '@ckeditor/ckeditor5-core'; | ||
import type ClassicEditor from '@ckeditor/ckeditor5-build-classic'; | ||
export interface CKEditorComponentData { | ||
instance: ClassicEditor | null; | ||
lastEditorData: string | null; | ||
} | ||
declare const _default: import("vue").DefineComponent<{ | ||
editor: { | ||
type: PropType<typeof ClassicEditor>; | ||
required: true; | ||
}; | ||
config: { | ||
type: PropType<EditorConfig>; | ||
default: () => {}; | ||
}; | ||
modelValue: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
tagName: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}, unknown, CKEditorComponentData, {}, { | ||
setUpEditorEvents(): void; | ||
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
editor: { | ||
type: PropType<typeof ClassicEditor>; | ||
required: true; | ||
}; | ||
config: { | ||
type: PropType<EditorConfig>; | ||
default: () => {}; | ||
}; | ||
modelValue: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
tagName: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
modelValue: string; | ||
disabled: boolean; | ||
config: EditorConfig; | ||
tagName: string; | ||
}>; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/** | ||
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. | ||
* For licensing, see LICENSE.md. | ||
*/ | ||
import * as Vue from 'vue'; | ||
import CKEditorComponent from './ckeditor'; | ||
declare const _default: { | ||
/** | ||
* Installs the plugin, registering the `<ckeditor>` component. | ||
* | ||
* @param app The application instance. | ||
*/ | ||
install(app: Vue.App): void; | ||
component: Vue.DefineComponent<{ | ||
editor: { | ||
type: Vue.PropType<typeof import("@ckeditor/ckeditor5-build-classic").default>; | ||
required: true; | ||
}; | ||
config: { | ||
type: Vue.PropType<import("@ckeditor/ckeditor5-core").EditorConfig>; | ||
default: () => {}; | ||
}; | ||
modelValue: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
tagName: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}, unknown, import("./ckeditor").CKEditorComponentData, {}, { | ||
setUpEditorEvents(): void; | ||
}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.VNodeProps & Vue.AllowedComponentProps & Vue.ComponentCustomProps, Readonly<Vue.ExtractPropTypes<{ | ||
editor: { | ||
type: Vue.PropType<typeof import("@ckeditor/ckeditor5-build-classic").default>; | ||
required: true; | ||
}; | ||
config: { | ||
type: Vue.PropType<import("@ckeditor/ckeditor5-core").EditorConfig>; | ||
default: () => {}; | ||
}; | ||
modelValue: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
tagName: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
disabled: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
}>>, { | ||
modelValue: string; | ||
disabled: boolean; | ||
config: import("@ckeditor/ckeditor5-core").EditorConfig; | ||
tagName: string; | ||
}>; | ||
}; | ||
export default _default; | ||
declare module 'vue' { | ||
interface GlobalComponents { | ||
ckeditor: typeof CKEditorComponent; | ||
} | ||
} |
Oops, something went wrong.