Closed blshkv closed 2 years ago
in app/assets/javascripts/ckeditor/application.js I added this lines: //= require ckeditor/init //= require ckeditor/adapters/jquery
Hope it helps someone.
ckeditor-jquery
do not include jquery
, you need to include it in such test case.
<%= javascript_include_tag 'jquery' %>
<%= javascript_include_tag 'ckeditor-jquery' %>
ckeditor/jquery
or ckeditor/adapters/jquery
are just adapter and required for ckeditor to work with jquery.
Hi, I'm testing the latest ckeditor_rails-4.6.2 with javascript tag as below:
It's getting included as following:
This cases the following javascript error:
Any idea how to fix it?