Editor Language (via I18n)

DemoConfigure editor language via Rails I18n
View on GitHub
Hello World

Implementation

The code below demonstrates automatic CKEditor 5 language setting based on I18n.locale. The editor automatically uses the language set in Rails I18n.

<% content_for :head do %>
  <%= ckeditor5_assets %>
<% end %>

<%= ckeditor5_editor do %>
  Hello World
<% end %>

Additional Resources