Skip to content

Commit

Permalink
Merge 56cf7db into d34802b
Browse files Browse the repository at this point in the history
  • Loading branch information
filipsobol committed Mar 16, 2023
2 parents d34802b + 56cf7db commit dc356b8
Show file tree
Hide file tree
Showing 13 changed files with 12,333 additions and 6,238 deletions.
62 changes: 62 additions & 0 deletions dist/ckeditor.d.ts
@@ -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;
4 changes: 2 additions & 2 deletions dist/ckeditor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/ckeditor.js.map

Large diffs are not rendered by default.

70 changes: 70 additions & 0 deletions dist/plugin.d.ts
@@ -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;
}
}

0 comments on commit dc356b8

Please sign in to comment.