module Ckeditor::Utils

Public Class Methods

js_init_ckeditor(dom_id, replace) click to toggle source
# File lib/administrate/field/ckeditor.rb, line 37
def js_init_ckeditor(dom_id, replace)
  %(document.addEventListener("DOMContentLoaded", function(event) {
    #{old_js_init_ckeditor(dom_id, replace)}
  });)
end
Also aliased as: old_js_init_ckeditor
old_js_init_ckeditor(dom_id, replace)
Alias for: js_init_ckeditor