@_sh/strapi-plugin-ckeditor
Version:
Integrates CKEditor 5 into your Strapi project as a fully customizable custom field. (Community Edition)
21 lines (20 loc) • 744 B
TypeScript
import React from 'react';
import type { InputProps, FieldValue } from '@strapi/strapi/admin';
type CKEditorFieldProps = Readonly<InputProps & FieldValue & {
labelAction?: React.ReactNode;
attribute: {
options: {
preset: string;
maxLengthWords: number;
maxLengthCharacters: number;
};
pluginOptions?: {
i18n?: {
localized?: boolean;
};
};
};
}>;
declare function Field({ name, hint, error, placeholder, label, attribute, labelAction, disabled, required, }: CKEditorFieldProps): import("react/jsx-runtime").JSX.Element;
declare const MemoizedField: React.MemoExoticComponent<typeof Field>;
export { MemoizedField as Field };