如何将链接图像添加到React中的CKeditor?
我想将链接图像链接到我的React应用程序的功能,该应用程序使用“
@ckeditor/ckeditor5-build-decoupled-document
代码:
import React from 'react'
import { CKEditor } from "@ckeditor/ckeditor5-react";
import * as DecoupledEditor from "@ckeditor/ckeditor5-build-decoupled-document";
但是当我导入时:
import linkimage from '@ckeditor/ckeditor5-link/src/linkimage';
我会收到一个错误:
untured ckeditorError:ckeditor-duplicated-modules
如何添加链接图像?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我假设您已经完成了:
并启用了插件:
然后将其添加到您的编辑器配置中:
即使错误仍然持续存在,请尝试使用错误代码文档在这里
I assume you have done:
and enabled the plugin with:
then add this into your editor config:
even if the error still persist, try the error code docs for it here