Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 624 Bytes

ckeditor.mb.md

File metadata and controls

27 lines (16 loc) · 624 Bytes

Install and Configure CKEditor

Install and configure following the CKEditor installation instructions

Load CKEditor Scripts

Add the ckeditor/init in the custom javascript load config in the Carnival Initializer.

Edit config/initializers/carnival_initializer.rb and add ckeditor/init to load.

Ex.

  config.custom_javascript_files = ["ckeditor/init"]

Set field to use CKEditor in the presenter

  field :bio,
    actions: [:index, :new, :edit, :show, :csv],
    as: :ckeditor,
    input_html: { ckeditor: {toolbar: 'Full'} }