为ProcessWire的CKEditor编辑器添加字体颜色菜单

找到对应字段的设置页如 Fields -> Body -> Input -> CKEditor Settings -> CKEditor Toolbar 找到对应位置添加

 TextColor, BGColor

Format, Bold, Italic, Underline, -, RemoveFormat, -, TextColor, BGColor

可用参数

Source, Save,NewPage, Preview, Print, Templates
Cut, Copy, Paste, PasteText, PasteFromWord, -, Undo, Redo
Find, Replace, -, SelectAll, -, Scayt
Form, Checkbox, Radio, TextField, Textarea, Select, Button, ImageButton, HiddenField
Bold, Italic, Underline, Strike, Subscript, Superscript, -, RemoveFormat
NumberedList, BulletedList, -, Outdent, Indent, -, Blockquote, CreateDiv, -, JustifyLeft, JustifyCenter, JustifyRight, JustifyBlock, -, BidiLtr, BidiRtl, Language
Link, Unlink, Anchor
Image, Flash, Table, HorizontalRule, Smiley, SpecialChar, PageBreak, Iframe
Styles, Format, Font, FontSize
TextColor, BGColor
Maximize, ShowBlocks
About

Post Comment