如何插入图像和超链接[ckeditor 4]
how to insert image and hyperlink [ckeditor 4]
我有这样的 ckeditor
我希望我的 ck-editor 可以插入超链接和 image.like 这个
我试图在文档中搜索,但我不明白,因为它是英文的。我很难理解,因为我是前端的新手
任何人请帮助
可能的解决方案:
- 从 CKEditor download page 下载完整包或标准包。这个包有你需要的两个插件。
- 您可能已经在使用标准包或完整包。您可以通过打开
ckeditor/build-config.js
文件并搜索 preset
单词来验证这一点。如果它旁边有 full
或 standard
,那么您的包是正确的,很可能您已经更改了配置。你可能用过 removeButtons or removeplugins settings where you remove Link
and Image
buttons or link
and image
plugins. You could have also used custom toolbar definition where you haven't added Link
and Image
buttons or you are missing links
and insert
groups. If you wish to learn more about toolbar concepts, please see:https://ckeditor.com/docs/ckeditor4/latest/guide/dev_toolbarconcepts.html and https://ckeditor.com/docs/ckeditor4/latest/guide/dev_toolbar.html.
我有这样的 ckeditor
我希望我的 ck-editor 可以插入超链接和 image.like 这个
我试图在文档中搜索,但我不明白,因为它是英文的。我很难理解,因为我是前端的新手
任何人请帮助
可能的解决方案:
- 从 CKEditor download page 下载完整包或标准包。这个包有你需要的两个插件。
- 您可能已经在使用标准包或完整包。您可以通过打开
ckeditor/build-config.js
文件并搜索preset
单词来验证这一点。如果它旁边有full
或standard
,那么您的包是正确的,很可能您已经更改了配置。你可能用过 removeButtons or removeplugins settings where you removeLink
andImage
buttons orlink
andimage
plugins. You could have also used custom toolbar definition where you haven't addedLink
andImage
buttons or you are missinglinks
andinsert
groups. If you wish to learn more about toolbar concepts, please see:https://ckeditor.com/docs/ckeditor4/latest/guide/dev_toolbarconcepts.html and https://ckeditor.com/docs/ckeditor4/latest/guide/dev_toolbar.html.