@ai-stack/payloadcms
Version:
<p align="center"> <img alt="Payload AI Plugin" src="assets/payload-ai-intro.gif" width="100%" /> </p>
11 lines (10 loc) • 452 B
JavaScript
import { createServerFeature } from '@payloadcms/richtext-lexical';
import { PLUGIN_LEXICAL_EDITOR_FEATURE } from '../../defaults.js';
// TODO: Find a way to check if the plugin is activated
export const PayloadAiPluginLexicalEditorFeature = createServerFeature({
feature: {
ClientFeature: '@ai-stack/payloadcms/client#LexicalEditorFeatureClient'
},
key: PLUGIN_LEXICAL_EDITOR_FEATURE
});
//# sourceMappingURL=feature.server.js.map