Classic Editor
DemoLazy Loading Example
Implementation
This example shows how to lazy load CKEditor 5 assets. Use the ckeditor5_lazy_javascript_tags
helper instead of ckeditor5_assets
.
<% content_for :head do %>
<%= ckeditor5_lazy_javascript_tags %>
<% end %>
<%= ckeditor5_editor do %>
Hello World!
<% end %>