svnno****@sourc*****
svnno****@sourc*****
2008年 9月 4日 (木) 17:17:17 JST
Revision: 1115 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=1115 Author: shinsuke Date: 2008-09-04 17:17:17 +0900 (Thu, 04 Sep 2008) Log Message: ----------- use custom toolbar. Modified Paths: -------------- pal-wcm/trunk/src/main/webapp/WEB-INF/view/editor/edit.jsp Added Paths: ----------- pal-wcm/trunk/src/main/webapp/fckeditor/wcmconfig.js -------------- next part -------------- Modified: pal-wcm/trunk/src/main/webapp/WEB-INF/view/editor/edit.jsp =================================================================== --- pal-wcm/trunk/src/main/webapp/WEB-INF/view/editor/edit.jsp 2008-09-04 08:16:32 UTC (rev 1114) +++ pal-wcm/trunk/src/main/webapp/WEB-INF/view/editor/edit.jsp 2008-09-04 08:17:17 UTC (rev 1115) @@ -44,6 +44,8 @@ FCKeditor.Config['LinkUploadURL'] = url + '&type=Link'; FCKeditor.Config['ImageUploadURL'] = url + '&type=Image'; FCKeditor.Config['FlashUploadURL'] = url + '&type=Flash'; +FCKeditor.Config["CustomConfigurationsPath"] = "<%= request.getContextPath() %>/fckeditor/wcmconfig.js"; +FCKeditor.ToolbarSet = "WCMToolbar"; FCKeditor.Create(); //--> </script> Added: pal-wcm/trunk/src/main/webapp/fckeditor/wcmconfig.js =================================================================== --- pal-wcm/trunk/src/main/webapp/fckeditor/wcmconfig.js (rev 0) +++ pal-wcm/trunk/src/main/webapp/fckeditor/wcmconfig.js 2008-09-04 08:17:17 UTC (rev 1115) @@ -0,0 +1,17 @@ +FCKConfig.ToolbarSets["WCMToolbar"] = [ + ['Source','DocProps','-','NewPage','Preview','-','Templates'], + ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], + ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], + ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], + '/', + ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], + ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote','CreateDiv'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], + ['Link','Unlink','Anchor'], + ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], + '/', + ['Style','FontFormat','FontName','FontSize'], + ['TextColor','BGColor'], + ['FitWindow','ShowBlocks','-','About'] +] ; + Property changes on: pal-wcm/trunk/src/main/webapp/fckeditor/wcmconfig.js ___________________________________________________________________ Name: svn:eol-style + native