插入图片到CKEditor
Insert image to CKEditor
我试图在我的电子应用程序中使用 CKEditor5 和 CKEditor-react。
我想在编辑器中粘贴图像,但出现错误
filerepository-no-upload-adapter: Upload adapter is not defined.
文档说我用云做桅杆。但是我的应用程序必须在本地运行并且没有互联网
有人可以帮助我吗?
docs 简而言之,就是这个:
To handle image upload in CKEditor 5 you can use one of these:
- use the built-in Easy Image adapter (cloud service),
- use the built-in CKFinder adapter (can work locally if you want),
- write your own adapter (in which case, please refer to the
UploadAdapter
interface documentation).
最后一个选项让您可以完全自由地决定如何以及将这些文件发送到哪里。
PS。您可以在这个问题中找到更多详细信息:
我试图在我的电子应用程序中使用 CKEditor5 和 CKEditor-react。 我想在编辑器中粘贴图像,但出现错误
filerepository-no-upload-adapter: Upload adapter is not defined.
文档说我用云做桅杆。但是我的应用程序必须在本地运行并且没有互联网 有人可以帮助我吗?
docs 简而言之,就是这个:
To handle image upload in CKEditor 5 you can use one of these:
- use the built-in Easy Image adapter (cloud service),
- use the built-in CKFinder adapter (can work locally if you want),
- write your own adapter (in which case, please refer to the
UploadAdapter
interface documentation).
最后一个选项让您可以完全自由地决定如何以及将这些文件发送到哪里。
PS。您可以在这个问题中找到更多详细信息: