From cc7005192a7be7c6e0fa9438c1e6ddde2138ff97 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Wed, 2 Aug 2017 11:18:33 -0400 Subject: [PATCH] Update InputfieldCKEditor settings screen Toolbar field to show standard toolbar names included with CKEditor --- .../InputfieldCKEditor/InputfieldCKEditor.module | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wire/modules/Inputfield/InputfieldCKEditor/InputfieldCKEditor.module b/wire/modules/Inputfield/InputfieldCKEditor/InputfieldCKEditor.module index 2ceb9fe8..39229939 100644 --- a/wire/modules/Inputfield/InputfieldCKEditor/InputfieldCKEditor.module +++ b/wire/modules/Inputfield/InputfieldCKEditor/InputfieldCKEditor.module @@ -655,6 +655,13 @@ class InputfieldCKEditor extends InputfieldTextarea { $f->label = $this->_('CKEditor Toolbar'); $f->description = $this->_('Separate each toolbar item with a comma. Group items by placing them on the same line and use a hyphen "-" where you want a separator to appear within a group. If you want more than one toolbar row, separate each row with a blank line.'); // Toolbar options description $f->description .= ' ' . $this->_('Insert a hash "#" at the beginning of a line if you want it to be ignored.'); + $f->notes = $this->_('Available core toolbar items:') . ' ' . + 'About, Anchor, Blockquote, Bold, BulletedList, Copy, CopyFormatting, CreateDiv, Cut, Find, Flash, Format, ' . + 'HorizontalRule, Iframe, Image, Indent, Italic, JustifyBlock, JustifyCenter, JustifyLeft, JustifyRight, ' . + 'Language, Link, Maximize, NewPage, NumberedList, Outdent, PageBreak, Paste, PasteFromWord, PasteText, ' . + 'Preview, Print, PWImage, PWLink, Redo, RemoveFormat, Replace, Save, Scayt, SelectAll, ShowBlocks, Smiley, ' . + 'Source, Sourcedialog, SpecialChar, SpellChecker, Strike, Styles, Subscript, Superscript, ' . + 'Table, Templates, Underline, Undo, Unlink'; $wrapper->add($f); $purifierInstalled = $this->wire('modules')->isInstalled('MarkupHTMLPurifier');