我试图在基本的Ruby on Rails应用程序中使用epiceditor.我按照网页
http://epiceditor.com/#上的说明进行操作.史诗编辑器窗口由于某种原因没有显示…谢谢
“`
<head> <Meta charset="utf-8"> <script src="js/epiceditor.js"></script> </head> <body> <div id="epiceditor"></div> </body> <script type="text/javascript"> var editor = new EpicEditor().load(); </script> <h1>Edit Wiki</h1> <%= form_for @mywiki do |f| %> <div> <%= f.label :title %> <%= f.text_field :title,:size => 75 %> </div> <div> <%= f.label :body %> <%= f.text_area :body,:rows => "35",:cols => "75" %> </div> <%= f.submit %> <% end %>
“`