最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

migration - Payload CMS: parse html with imagecode blocks into lexical editor - Stack Overflow

programmeradmin10浏览0评论

In Payload CMS, is it possible to migrate html, containing images and code blocks, into lexical editor?

I added a custom ImageNode into the headless editor's nodes:

const headlessEditor = createHeadlessEditor({
      nodes: [
        ...getEnabledNodes({editorConfig: sanitizedConfig}),
        ImageNode
      ],
    });
发布评论

评论列表(0)

  1. 暂无评论