使用VB.net将tinymce或ckeditor插入到asp.net项目中 [英] Insert tinymce or ckeditor into asp.net project with VB.net

查看:69
本文介绍了使用VB.net将tinymce或ckeditor插入到asp.net项目中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请求插入tinymce或ckeditor在我的项目ASP.NET中使用VB.net ...

Pleas i want insert tinymce or ckeditor to use in my project ASP.NET with VB.net ...

推荐答案

你好,



这两个编辑器都是使用Javascript完成的。所以使用它们非常简单。在下面的片段中,显示了将textarea转换为TinyMCE编辑器所需的最小配置。

Hello,

Both of these editors are done using Javascript. So using them is pretty easy. Below snippet, shows you the minimal configuration required to turn a textarea into a TinyMCE editor.
<html>
<head>
...
<script type="text/javascript" src="<your installation path>/tinymce/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
    selector: "textarea"
});
</script>
</head>
<body>
    <form method="post">
        <textarea></textarea>
    </form>
</body>
</html>



对于CKEditor,您会发现以下CP文章非常有用。

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆