/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; config.language = 'ko'; }; /* var ck = { uploader : $._default+'common/modules/upload_ckeditor.php?bbsid='+ckeditor_upload+'&type=photo&temp=true&imgcode='+ ckeditor_imgcode }; */ var ckdefaultconfig = { toolbar : [ { name: 'document', items: [ 'Source'/*, '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates'*/ ] }, { name: 'styles', items: [ 'Styles', 'Format', 'Font', 'FontSize' ] }, { name: 'colors', items: [ 'TextColor', 'BGColor' ] }, { name: 'basicstyles', items: [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'/*, '-', 'CopyFormatting', 'RemoveFormat'*/ ] }, { name: 'paragraph', items: [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'/*, '-', 'BidiLtr', 'BidiRtl', 'Language'*/ ] }, /*{ name: 'editing', items: [ 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ] },*/ { name: 'insert', items: [ 'Image'/*, 'Flash'*/, 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe' ] }, { name: 'links', items: [ 'Link', 'Unlink'/*, 'Anchor'*/ ] }, { name: 'clipboard', items: [ /*'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', */'Undo', 'Redo' ] }, ], removeButtons : 'Save,Paste,PasteText,PasteFromWord,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Maximize,ShowBlocks,About', language : 'ko', //skin : 'bootstrapck', contentsCss : [ $._default+'common/ckeditor/contents.css'], height: '200px', startupFocus: false, resize_enabled: true, forcePasteAsPlainText : false, allowedContent : true, font_names : 'Noto Sans KR/Noto Sans KR;나눔 고딕/나눔 고딕,nanumgothic;맑은 고딕/맑은 고딕,malgungothic;돋움/돋움,dotumche;궁서/궁서,gungsuhche;Kaleko/Kaleko;Kaleko_bold/Kaleko_bold;Futura/Futura;Myriad/Myriad;Myriad_bold/Myriad_bold;Arial/Arial;Open Sans/OpenSans_regular;ProximaNova/ProximaNova_regular;Raleway/Raleway_medium;Raleway_light/Raleway_light;Courier New/CourierNew_regular;Impact/Impact_regular;Times New Roman/TimesNewRoman_regular', fontSize_sizes : '12/12px;13/13px;14/14px;15/15px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;32/32px;36/36px;40/40px;44/44px;48/48px;54/54px;60/60px;66/66px;72/72px;', disallowedContent : 'img{width*,height*};', filebrowserImageUploadUrl : '', enterMode :CKEDITOR.ENTER_BR, extraAllowedContent : 'address(*)[*]; abbr(*)[*]; table(*)[*]{*}; tr[*]{*}; td(*)[*]{*}; th(*)[*]{*}; thead[*]{*}; tbody[*]{*}; tfoot[*]{*}; iframe(*)[*]{*}; div(*)[*]{*}; ul(*)[*]; ol(*)[*]; li(*)[*]; p(*)[*]{*}; a[!href](*){*}; img(*)[*]{*}; span(*)[*]{*}; h2(*)[*]; h3(*)[*]; h4(*)[*]; h5(*)[*]; h6(*)[*];' };