asp.net mvc - Ckeditor does not show content in edit page -


i using ckeditor editor in blog, works charm in post page, in edit page can not load content. here way load ckeditor.

<div class="editor-field">             <textarea id="ckeditor" name="content"></textarea>             @html.validationmessagefor(model => model.content)  @section scripts {     <script type="text/javascript">         ckeditor.replace('ckeditor', {             filebrowserimagebrowseurl: '/ckfinder/ckfinder.html?type=images',             filebrowserimageuploadurl: '/statics/upload/'         });         ckfinder.setupckeditor(null, "@url.content("/ckfinder")");     </script> } 

the content of textarea empty, there's nothing edit. must fill contents want edit.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -