asp.net mvc下ckeditor使用

资源下载:ckeditor

第一步,引入必须文件“~/ckeditor/ckeditor.js”

第二步,替换文本域

 <%: Html.TextArea("Content",new { style = "width:80%" })%>
        <script type="text/javascript">
            CKEDITOR.replace('Content');
        </script>

posted @ 2014-09-05 13:45  Deep_Blue  阅读(220)  评论(0编辑  收藏  举报