@_sh/strapi-plugin-ckeditor
Version:
Integrates CKEditor 5 into your Strapi project as a fully customizable custom field. (Community Edition)
22 lines (21 loc) • 660 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 const MemoizedField: React.MemoExoticComponent<React.ForwardRefExoticComponent<CKEditorFieldProps & React.RefAttributes<{
focus: () => void;
}>>>;
export { MemoizedField as Field };