我有一个简单的页面...我使用ckeditor它工作得很好o本地主机但我发布到azure它剂量 - 工作了...这里是网站 http://testckedit.azurewebsites.net/ 代码:
bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/Scripts/bootstrap.js",
"~/Scripts/respond.js",
"~/Scripts/ckeditor/ckeditor.js"
));
Run Code Online (Sandbox Code Playgroud)
和观点:
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<div class='description'>
<p>
This editor is using an <code><iframe></code> element-based editing area, provided by the <strong>Wysiwygarea</strong> plugin.
</p>
</div>
<textarea cols="80" id="editor1" name="editor1" rows="10"></textarea>
@section scripts{
<script>
$(document).ready(function () {
// This call can be placed at any point after the
// <textarea>, or inside a <head><script> in a
// window.onload event handler.
// Replace the <textarea id="editor"> with an CKEditor
// …Run Code Online (Sandbox Code Playgroud) ckeditor ×1