Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有任何使用 asp.net mvc 在您的 Web 应用程序中设置 tinymce 的示例代码?
你在问什么?
您的视图是 HTML。在典型的 HTML 页面上设置 TinyMCE 的任何示例都适用于 MVC。唯一的区别可能是您使用<%= Html.TextBox(...),在这种情况下,您使用传递到文本框的 ID。
我为 TinyMCE 编写了一些局部视图模板。(我也会在更新时将 TinyMCE 推送到提要)
以下文章将引导您完成该过程:
TinyMCE HTML 文本编辑器和 ASP.NET MVC - 使用 Nuget 轻松设置
http://www.tugberkugurlu.com/archive/tinymce-html-text-editor-and-asp-net-mvc-setting-it-up-has-become-easy-with-nuget