Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CKEDITOR_CONFIGS = {
- "default": {
- "skin": "moono",
- "toolbar_Basic": [["Source", "-", "Bold", "Italic"]],
- "toolbar_YourCustomToolbarConfig": [
- {
- "name": "document",
- "items": ["Source", "-", "Save", "NewPage", "Preview",
- "Print", "-", "Templates"],
- },
- {
- "name": "clipboard",
- "items": [ "Cut", "Copy", "Paste", "PasteText",
- "PasteFromWord", "-", "Undo", "Redo"],
- },
- {
- "name": "editing",
- "items": ["Find", "Replace", "-", "SelectAll"],
- },
- {
- "name": "forms",
- "items": ["Form", "Checkbox", "Radio", "TextField", "Textarea",
- "Select", "Button", "ImageButton", "HiddenField"],
- },
- "/",
- {
- "name": "basicstyles",
- "items": ["Bold", "Italic", "Underline", "Strike",
- "Subscript", "Superscript", "-", "RemoveFormat"],
- },
- {
- "name": "paragraph",
- "items": ["NumberedList", "BulletedList", "-", "Outdent", "Indent",
- "-", "Blockquote", "CreateDiv", "-","JustifyLeft",
- "JustifyCenter", "JustifyRight", "JustifyBlock",
- "-", "BidiLtr", "BidiRtl", "Language"],
- },
- {"name": "links", "items": ["Link", "Unlink", "Anchor"]},
- {
- "name": "insert",
- "items": ["Image", "Flash", "Table", "HorizontalRule",
- "Smiley", "SpecialChar", "PageBreak", "Iframe"],
- },
- "/",
- {
- "name": "styles",
- "items": ["Styles", "Format", "Font", "FontSize"],
- },
- {"name": "colors", "items": ["TextColor", "BGColor"]},
- {"name": "tools", "items": ["Maximize", "ShowBlocks"]},
- {"name": "about", "items": ["About"]},
- "/",
- {
- "name": "yourcustomtools",
- "items": ["Preview", "Maximize"],
- },
- ],
- "toolbar": "YourCustomToolbarConfig",
- "tabSpaces": 4,
- "extraPlugins": ",".join([
- "uploadimage", "div", "autolink", "autoembed", "embedsemantic", "widget",
- "lineutils", "clipboard", "dialog", "dialogui", "elementspath"
- ]),
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement