1 | CKEDITOR.editorConfig = function( config ) |
---|
2 | { |
---|
3 | config.docType = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">'; |
---|
4 | config.defaultLanguage = 'he'; |
---|
5 | config.contentsLangDirection = 'rtl'; |
---|
6 | config.protectedSource.push( /<script[\s\S]*?\/script>/gi ); |
---|
7 | config.toolbar_Basic = [ ['Bold','Italic','Underline','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] ]; |
---|
8 | config.toolbarCanCollapse = false; |
---|
9 | config.resize_enabled = false; |
---|
10 | config.toolbar_NewMsg = [ |
---|
11 | ['Bold','Italic','Underline','-','FontName','FontSize','FontFormat','RemoveFormat'],'/', |
---|
12 | ['TextColor','BGColor','Smiley','Rule','-'], |
---|
13 | ['JustifyRight','JustifyCenter','JustifyLeft','JustifyFull','-'], |
---|
14 | ['OrderedList','UnorderedList','-','Style','SpellCheck','-','About'] |
---|
15 | ]; |
---|
16 | config.toolbar_Comment = [ ['Smiley','-','About'] ]; |
---|
17 | config.toolbar_Story = [ |
---|
18 | ['TextColor','Smiley','Bold','Italic','Underline','-','FontSize','-','Rule'], |
---|
19 | ['JustifyRight','JustifyCenter','JustifyLeft','JustifyFull','-'], |
---|
20 | ['OrderedList','UnorderedList','-','-','About'] |
---|
21 | ]; |
---|
22 | config.toolbar_LoveStory = [ |
---|
23 | ['Bold','Italic','Underline','-','FontName','FontSize','FontFormat','RemoveFormat','Link','Unlink','Anchor','Source'],'/', |
---|
24 | ['TextColor','BGColor','Smiley','Image','Rule','-'], |
---|
25 | ['JustifyRight','JustifyCenter','JustifyLeft','JustifyFull','-'], |
---|
26 | ['OrderedList','UnorderedList','-','Style','SpellCheck','-','About'] |
---|
27 | ]; |
---|
28 | config.browserContextMenuOnCtrl = false; |
---|
29 | config.smiley_path = '/img/msn/'; |
---|
30 | config.smiley_images = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif','flower.gif']; |
---|
31 | config.uiColor = '#B0C4DE'; |
---|
32 | config.enterMode = CKEDITOR.ENTER_BR; |
---|
33 | }; |
---|