简体   繁体   English

在CKEditor中没有从计算机上载图像的选项

[英]No option for Image upload from the computer in CKEditor

I have downloaded the CK Editor from CKEditor site. 我已经从CKEditor网站下载了CK Editor There are many features available on their site which works properly when I integrated into my site. 他们的网站上有许多可用功能,当我集成到我的网站时,这些功能可以正常使用。

But, 但,

there is no feature available to upload image from the local computer. 没有可用于从本地计算机上载图像的功能。

Is there any easiest way to integrate this. 有没有最简单的方法来整合这一点。 The below is the way, I implemented the code. 下面是我实现代码的方式。

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

AND

<CKEditor:CKEditorControl ID="txtPagedesc" BasePath="/ckeditor/" runat="server">
                                            </CKEditor:CKEditorControl>

Please help 请帮忙

Yes. 是。 CKEditor doesn't have feature to upload image directly from local computer. CKEditor不具有直接从本地计算机上载图像的功能。 But I think this should be help you : 但是我认为这应该对您有帮助:

https://github.com/hendcorp/ckeditor-img-upload https://github.com/hendcorp/ckeditor-img-upload

It uses Bootstrap, jQuery and PHP to create simple pop up (modals) to upload images directly from local computer and we just need to click uploaded image to insert into CKEditor. 它使用Bootstrap,jQuery和PHP创建简单的弹出窗口(模式),以直接从本地计算机上传图像,我们只需要单击上传的图像以插入CKEditor。 I hope it can help. 希望对您有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM