fckeditor 엔터 br 적용
fck 2.6.2
fckconfig.js
136라인
FCKConfig.EnterMode = 'br' ; // p | div | br
이미지 경로설정
fckconfig.js
FCKConfig.CustomConfigurationsPath = '/js/fckeditor_config.js' ;
FCKConfig.ToolbarSets['MyToolbar'] = [
['Source','-','Preview'],
['Undo','Redo','Find','Replace'],
['FontName','FontSize'],
'/',
['Bold','Italic','Underline','StrikeThrough',
'TextColor','BGColor','RemoveFormat','-',
'JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','Outdent','Indent','Blockquote','-','Link','Unlink','-','Smiley','SpecialChar','Image']
];
//폰트
FCKConfig.FontNames = '굴림;굴림체;돋움;돋움체;궁서;궁서체;바탕;바탕체;Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
//엔터시 br
FCKConfig.EnterMode = 'br';
//한글이 기본
FCKConfig.DefaultLanguage = 'ko';
//링크 서버보기, 업로드, 속성탭 제외
FCKConfig.LinkBrowser = false ;
FCKConfig.LinkUpload = false ;
FCKConfig.LinkDlgHideTarget = true ;
FCKConfig.LinkDlgHideAdvanced = true ;
//이미지 서버보기, 링크, 속성탭 제외
FCKConfig.ImageBrowser = false;
FCKConfig.ImageDlgHideLink = true ;
FCKConfig.ImageDlgHideAdvanced = true ;
fck 2.6.2
fckconfig.js
136라인
FCKConfig.EnterMode = 'br' ; // p | div | br
이미지 경로설정
fckconfig.js
FCKConfig.CustomConfigurationsPath = '/js/fckeditor_config.js' ;
FCKConfig.ToolbarSets['MyToolbar'] = [
['Source','-','Preview'],
['Undo','Redo','Find','Replace'],
['FontName','FontSize'],
'/',
['Bold','Italic','Underline','StrikeThrough',
'TextColor','BGColor','RemoveFormat','-',
'JustifyLeft','JustifyCenter','JustifyRight','-','OrderedList','UnorderedList','Outdent','Indent','Blockquote','-','Link','Unlink','-','Smiley','SpecialChar','Image']
];
//폰트
FCKConfig.FontNames = '굴림;굴림체;돋움;돋움체;궁서;궁서체;바탕;바탕체;Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
//엔터시 br
FCKConfig.EnterMode = 'br';
//한글이 기본
FCKConfig.DefaultLanguage = 'ko';
//링크 서버보기, 업로드, 속성탭 제외
FCKConfig.LinkBrowser = false ;
FCKConfig.LinkUpload = false ;
FCKConfig.LinkDlgHideTarget = true ;
FCKConfig.LinkDlgHideAdvanced = true ;
//이미지 서버보기, 링크, 속성탭 제외
FCKConfig.ImageBrowser = false;
FCKConfig.ImageDlgHideLink = true ;
FCKConfig.ImageDlgHideAdvanced = true ;