Skip to content

Instantly share code, notes, and snippets.

@cqpx
Last active December 18, 2015 18:50
Show Gist options
  • Select an option

  • Save cqpx/5828890 to your computer and use it in GitHub Desktop.

Select an option

Save cqpx/5828890 to your computer and use it in GitHub Desktop.
CKEDITOR.editorConfig = ( config ) ->
config.toolbar_Forum = [
{
name: 'riga1'
items : [
"Source"
"Save"
"NewPage"
"DocProps"
"Preview"
"Print"
"Templates"
"document"
"Cut"
"Copy"
"Paste"
"PasteText"
"PasteFromWord"
"Undo"
"Redo"
"Find"
"Replace"
"SelectAll"
"Scayt"
"Form"
"Checkbox"
"Radio"
"TextField"
"Textarea"
"Select"
]
},
'/',
{
name: 'riga2'
items : [
"Button"
"ImageButton"
"HiddenField"
"Bold"
"Italic"
"Underline"
"Strike"
"Subscript"
"Superscript"
"RemoveFormat"
"Outdent"
"Indent"
"Blockquote"
"CreateDiv"
"JustifyLeft"
"JustifyCenter"
"JustifyRight"
"JustifyBlock"
"BidiLtr"
"BidiRtl"
"NumberedList"
"BulletedList"
"Link"
"Unlink"
"Anchor"
"Image"
]
},
'/',
{
name: 'riga3'
items : [
"Flash"
"Table"
"HorizontalRule"
"Smiley"
"SpecialChar"
"PageBreak"
"Iframe"
"InsertPre"
"Styles"
"Format"
"Font"
"FontSize"
"TextColor"
"BGColor"
"UIColor"
"Maximize"
"ShowBlocks"
"button1"
"button2"
"button3"
"oembed"
"MediaEmbed"
"About"
"CreatePlaceholder"
]
}
]
config.toolbar = 'Forum'
config.height = '80px'
config.resize_enabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment