diff --git a/README.md b/README.md index 5339569d0..55b8d1d29 100644 --- a/README.md +++ b/README.md @@ -203,7 +203,7 @@ CKEDITOR.editorConfig = function (config) { config.toolbar_mini = [ ["Bold", "Italic", "Underline", "Strike", "-", "Subscript", "Superscript"], ]; - config.toolbar = "simple"; + config.toolbar = "mini"; // ... rest of the original config.js ... } @@ -286,6 +286,9 @@ jQuery sample: ``` ### SimpleForm integration +Note that the toolbar option should match the case specified in the config. If the config is not found it defaults to all available toolbar items. + +i.e. config.toolbar_mini becomes {toolbar: 'mini'} in the form. ```slim = form.input :content, as: :ckeditor, input_html: { ckeditor: { toolbar: 'Full' } }