Как использовать Рокси диспетчер файлов с помощью редактора CKEditor в ASP.NET
Im создание сайта CMS в этом im использование CKEditor и Roxy Manager для просмотра и загрузки изображений, потому что его бесплатно, но его только показывает текстовое поле
ниже приведен мой код Пожалуйста дайте мне какой нибудь пример для CKeditor и Roxy Manager
заранее спасибо
Что я уже пробовал:
Код страницы
I have downloaded Roxy file manager folder and kept it in my application folder
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <script src="Scripts/jquery-1.7.1.min.js"></script> <script src="Scripts/jquery-1.7.1.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <body> <form id="form1" runat="server"> <div> <textarea id="editor1" name="editor1" rows="10" cols="80"></textarea> <script> var roxyFileman = '/fileman/index.html?integration=ckeditor'; $(function(){ CKEDITOR.replace( 'editor1',{filebrowserBrowseUrl:roxyFileman, filebrowserImageBrowseUrl:roxyFileman+'&type=image', removeDialogTabs: 'link:upload;image:upload'}); }); </script> </div> </form> </body> </html>
Файл веб-конфигурации
<staticContent> <!--Cache static content for 24 hours--> <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="24.00:00:00" /> <!--Allow json file loading (used by Roxy Fileman)--> <remove fileExtension=".json" /> <mimeMap fileExtension=".json" mimeType="application/json" /> </staticContent>