简体   繁体   English

Summernote所见即所得编辑器不可见

[英]Summernote WYSIWYG Editor is not visible

I want to use Summernote editor in a popup that is inside a popup,the popup code is inside the partial view. 我想在弹出窗口内部的弹出窗口中使用Summernote编辑器,该弹出代码在局部视图内部。 And i have included the css & js files in the main view but when i click on the editor button popup comes but i am not able to see the editor.I have searched a lot and not able to figure out what can be the issue.Is it because of the popup ?? 而且我已经在主视图中包含了css和js文件,但是当我单击编辑器按钮时弹出窗口出现了,但是我看不到editor。我进行了很多搜索并且无法弄清楚可能是什么问题。是因为弹出窗口吗?

Look at this demo I created just now- 看一下我刚才创建的这个演示-

http://jsfiddle.net/gze70ov2/1/ http://jsfiddle.net/gze70ov2/1/

First initialize summernote on document ready. 首先在准备好文档时初始化summernote And make sure you have included required resources for this to work in order- 并确保您已包括所需的资源,以便按顺序进行操作-

  • <link href="font-awesome.css" rel="stylesheet"/>
  • <link href="bootstrap.css" rel="stylesheet"/>
  • <link href="summernote.min.css" rel="stylesheet"/>
  • <script src="jquery.js" type="text/javascript"></script>
  • <script src="bootstrap.min.js" type="text/javascript"></script>
  • <script src="summernote.min.js" type="text/javascript"></script>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM