??xml version="1.0" encoding="utf-8" standalone="yes"?>永久免费在线观看,欧美影院一区,香蕉视频官网在线观看日本一区二区http://www.aygfsteel.com/hejia515645/zh-cnThu, 19 Jun 2025 15:24:35 GMTThu, 19 Jun 2025 15:24:35 GMT60Google JavaScript ~码规范指南中文?/title><link>http://www.aygfsteel.com/hejia515645/archive/2012/05/07/377548.html</link><dc:creator>jse7en</dc:creator><author>jse7en</author><pubDate>Mon, 07 May 2012 09:51:00 GMT</pubDate><guid>http://www.aygfsteel.com/hejia515645/archive/2012/05/07/377548.html</guid><wfw:comment>http://www.aygfsteel.com/hejia515645/comments/377548.html</wfw:comment><comments>http://www.aygfsteel.com/hejia515645/archive/2012/05/07/377548.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hejia515645/comments/commentRss/377548.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hejia515645/services/trackbacks/377548.html</trackback:ping><description><![CDATA[     摘要: JavaScript 语言规范变量link▽声明变量必须加上 var 关键?Decision:当你没有?nbsp;var, 变量׃暴露在全局上下文中, q样很可能会和现有变量冲H? 另外, 如果没有加上, 很难明确该变量的作用域是什? 变量也很可能像在局部作用域? 很轻易地泄漏?Document 或?Window ? 所以务必用 var&n...  <a href='http://www.aygfsteel.com/hejia515645/archive/2012/05/07/377548.html'>阅读全文</a><img src ="http://www.aygfsteel.com/hejia515645/aggbug/377548.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hejia515645/" target="_blank">jse7en</a> 2012-05-07 17:51 <a href="http://www.aygfsteel.com/hejia515645/archive/2012/05/07/377548.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>MyEclipse8.6打开JSP文g出错http://www.aygfsteel.com/hejia515645/archive/2012/04/23/376346.htmljse7enjse7enMon, 23 Apr 2012 02:13:00 GMThttp://www.aygfsteel.com/hejia515645/archive/2012/04/23/376346.htmlhttp://www.aygfsteel.com/hejia515645/comments/376346.htmlhttp://www.aygfsteel.com/hejia515645/archive/2012/04/23/376346.html#Feedback0http://www.aygfsteel.com/hejia515645/comments/commentRss/376346.htmlhttp://www.aygfsteel.com/hejia515645/services/trackbacks/376346.html在myeclipse8.6中打开一个JSP文g时弹出: Could not open the editor: Argument not valid

 

解决办法Q右键你的jsp面。选择open with 再选择 MyEclipse jsp editor 可以了?/span>
更改默认的打开方式Q?/span>
选择 window-->preferences-->General-->Editors-->File Associations -->(在右边上面的框中选择jsp)-->(然后在下面的框中选择MyEclipse jsp editor )-->点default可以了?/span>



jse7en 2012-04-23 10:13 发表评论
]]>
ckeditor _与详l配|方?/title><link>http://www.aygfsteel.com/hejia515645/archive/2012/04/15/374216.html</link><dc:creator>jse7en</dc:creator><author>jse7en</author><pubDate>Sun, 15 Apr 2012 02:36:00 GMT</pubDate><guid>http://www.aygfsteel.com/hejia515645/archive/2012/04/15/374216.html</guid><wfw:comment>http://www.aygfsteel.com/hejia515645/comments/374216.html</wfw:comment><comments>http://www.aygfsteel.com/hejia515645/archive/2012/04/15/374216.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hejia515645/comments/commentRss/374216.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hejia515645/services/trackbacks/374216.html</trackback:ping><description><![CDATA[<div class="wmqeeuq" id="blog_text"> <p><span style="font-family: 宋体;"><strong><a title="ckeditor" >ckeditor</a> _与详l配|方?/strong></span></p> <p><strong><span style="font-family: 宋体;">一.ckeditor 3.0.1_</span></strong></p> <p><span style="font-family: 宋体;">_?4.52M   _?853K<br /> 1.删除_samples和_source文g?分别为示例文件和未压~源E序<br /> 2.删除lang文g夹下除zh-cn.js,en.js下的所有语a文g.Ҏ需要删?br /> 3.删除根目录下的changes.html(更新列表),install.html(安装指向),license.html(使用许可).<br /> 4.删除skins目录下不需要的皮肤.我一般用V2(?朴素) //如果只保留V2则必dconfig.js中指定皮?/span></p> <p><strong>?ckeditor 3.0.1相关文g配置路径</strong><br /> 1./ckeditor.js   核心文g,调用需加蝲<br /> 2./config.js     配置文g,参数配置均在此完?br /> 3./plugins/smiley/images 表情W号.</p> <p><strong>?ckeditor应用(.net环境)</strong><br />    1.引用js脚本<br />    <script type=”text/javascript” src=”ckeditor/ckeditor.js”></script><br />    2.相应的控g替换成编辑器代码<br />    <asp:TextBox ID=”TextBox1″ runat=”server” Rows=”10″ TextMode=”MultiLine”></asp:TextBox><br />    <script type=”text/javascript”>CKEDITOR.replace(‘TextBox1′)</script></p> <p><strong>?ckeditor配置</strong>(config.js配置文g)<br />      config.js参数说明</p> <p><span style="font-family: 宋体;">//当提交包含有此编辑器的表单时Q是否自动更新元素内的数?br /> config.autoUpdateElement = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//~辑器的z-index?br /> config.baseFloatZIndex = 10000 </span></p> <p><span style="font-family: 宋体; font-size: small;">//讄是用绝对目录还是相对目录,为空为相对目?br /> config.baseHref = ”</span></p> <p><span style="font-family: 宋体; font-size: small;">//讄快捷?从上往下依ơ是Q获取焦点,元素焦点Q文本菜单,撤销Q重做,重做Q链接,_体Q斜体,下划U?br /> config.keystrokes =<br /> [<br />     [ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],<br />     [ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],</span></p> <p><span style="font-family: 宋体; font-size: small;">    [ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],</span></p> <p><span style="font-family: 宋体; font-size: small;">    [ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],<br />     [ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],<br />     [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ],</span></p> <p><span style="font-family: 宋体; font-size: small;">    [ CKEDITOR.CTRL + 76 /*L*/, 'link' ],</span></p> <p><span style="font-family: 宋体; font-size: small;">    [ CKEDITOR.CTRL + 66 /*B*/, 'bold' ],<br />     [ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],<br />     [ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],</span></p> <p><span style="font-family: 宋体; font-size: small;">    [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]<br /> ]   </span></p> <p><span style="font-family: 宋体; font-size: small;">//讄快捷?可能与浏览器快捷键冲H?plugins/keystrokes/plugin.js.<br /> config.blockedKeystrokes =<br /> [<br />     CKEDITOR.CTRL + 66 /*B*/,<br />     CKEDITOR.CTRL + 73 /*I*/,<br />     CKEDITOR.CTRL + 85 /*U*/<br /> ]   </span></p> <p><span style="font-family: 宋体; font-size: small;">//讄~辑内元素的背景色的取?plugins/colorbutton/plugin.js.<br /> config.colorButton_backStyle =<br />     {<br />         element : ‘span’,<br />         styles : { ‘background-color’ : ‘#(color)’ }<br />     }</span></p> <p><span style="font-family: 宋体; font-size: small;">//讄前景色的取?plugins/colorbutton/plugin.js<br /> config.colorButton_colors = ’000,800000,8B4513,2F4F4F,008080,000080,4B0082,696969,B22222,A52A2A,DAA520,006400,40E0D0,0000CD,800080,808080,F00,FF8C00,FFD700,008000,0FF,00F,EE82EE,A9A9A9,FFA07A,FFA500,FFFF00,00FF00,AFEEEE,ADD8E6,DDA0DD,D3D3D3,FFF0F5,FAEBD7,FFFFE0,F0FFF0,F0FFFF,F0F8FF,E6E6FA,FFF’</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否在选择颜色时显C?#8220;其它颜色”选项 plugins/colorbutton/plugin.js<br /> config.colorButton_enableMore = false</span></p> <p><span style="font-family: 宋体; font-size: small;">//区块的前景色默认D|?plugins/colorbutton/plugin.js<br /> config.colorButton_foreStyle =<br />     {<br />         element : ‘span’,<br />         styles : { ‘color’ : ‘#(color)’ }<br />     };</span></p> <p><span style="font-family: 宋体; font-size: small;">//所需要添加的CSS文g 在此d 可用相对\径和|站的绝对\?br /> config.contentsCss = ‘./contents.css’;</span></p> <p><span style="font-family: 宋体; font-size: small;">//文字方向<br /> config.contentsLangDirection = ‘rtl’;//从左到右</span></p> <p><span style="font-family: 宋体; font-size: small;">//CKeditor的配|文?若不想配|?留空卛_<br /> CKEDITOR.replace( ‘myfiled’, { customConfig : ‘./config.js’ } );</span></p> <p><span style="font-family: 宋体; font-size: small;">//界面的语a配置 讄?#8217;zh-cn’卛_<br /> config.defaultLanguage = ‘en’;</span></p> <p><span style="font-family: 宋体; font-size: small;">//界面~辑框的背景?plugins/dialog/plugin.js<br /> config.dialog_backgroundCoverColor = ‘#fffefd’; //可设|参?br /> config.dialog_backgroundCoverColor = ‘white’ //默认</span></p> <p><span style="font-family: 宋体; font-size: small;">//背景的不透明?数值应该在Q?.0?.0 之间 plugins/dialog/plugin.js<br /> config.dialog_backgroundCoverOpacity = 0.5</span></p> <p><span style="font-family: 宋体; font-size: small;">//Ud或者改变元素时 Ҏ的吸附距?单位Q像?plugins/dialog/plugin.js<br /> config.dialog_magnetDistance = 20;</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否拒绝本地拼写查和提示 默认为拒l?目前仅firefox和safari支持 plugins/wysiwygarea/plugin.js.<br /> config.disableNativeSpellChecker = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//q行表格~辑功能 如:d行或?目前仅firefox支持 plugins/wysiwygarea/plugin.js<br /> config.disableNativeTableHandles = true; //默认Z开?/span></p> <p><span style="font-family: 宋体; font-size: small;">//是否开?囄和表?的改变大的功能 config.disableObjectResizing = true;<br /> config.disableObjectResizing = false //默认为开?/span></p> <p><span style="font-family: 宋体; font-size: small;">//讄HTML文档cd<br /> config.docType = ‘<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “</span><span style="font-family: 宋体; font-size: small;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>’</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否对编辑区域进行渲?plugins/editingblock/plugin.js<br /> config.editingBlock = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//~辑器中回R产生的标{?br /> config.enterMode = CKEDITOR.ENTER_P //可选:CKEDITOR.ENTER_BR或CKEDITOR.ENTER_DIV</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否使用HTML实体q行输出 plugins/entities/plugin.js<br /> config.entities = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//定义更多的实?plugins/entities/plugin.js<br /> config.entities_additional = ‘#39′ //其中#代替?amp;</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否转换一些难以显C的字符为相应的HTML字符 plugins/entities/plugin.js<br /> config.entities_greek = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否转换一些拉丁字WؓHTML plugins/entities/plugin.js<br /> config.entities_latin = true;</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否转换一些特D字WؓASCII字符 如:”This is Chinese: 汉语.”转换为:”This is Chinese: 汉语.”<br /> plugins/entities/plugin.js<br /> config.entities_processNumerical = false</span></p> <p><span style="font-family: 宋体; font-size: small;">//d新组?br /> config.extraPlugins = ‘myplugin’; //非默?仅示?/span></p> <p><span style="font-family: 宋体; font-size: small;">//使用搜烦时的高亮?plugins/find/plugin.js<br /> config.find_highlight =<br />     {<br />         element : ‘span’,<br />         styles : { ‘background-color’ : ‘#ff0′, ‘color’ : ‘#00f’ }<br />     };</span></p> <p><span style="font-family: 宋体; font-size: small;">//默认的字体名 plugins/font/plugin.js<br /> config.font_defaultLabel = ‘Arial’;</span></p> <p><span style="font-family: 宋体; font-size: small;">//字体~辑时的字符?可以d常用的中文字W:宋体、楷体、黑体等 plugins/font/plugin.js<br /> config.font_names = ‘Arial;Times New Roman;Verdana’;</span></p> <p><span style="font-family: 宋体; font-size: small;">//文字的默认式?plugins/font/plugin.js<br /> config.font_style =<br />     {<br />         element   : ‘span’,<br />         styles   : { ‘font-family’ : ‘#(family)’ },<br />         overrides : [ { element : 'font', attributes : { 'face' : null } } ]<br />     };</span></p> <p><span style="font-family: 宋体; font-size: small;">//字体默认大小 plugins/font/plugin.js<br /> config.fontSize_defaultLabel = ’12px’;</span></p> <p><span style="font-family: 宋体; font-size: small;">//字体~辑时可选的字体大小 plugins/font/plugin.js<br /> config.fontSize_sizes =’8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px’</span></p> <p><span style="font-family: 宋体; font-size: small;">//讄字体大小?使用的式?plugins/font/plugin.js<br /> config.fontSize_style =<br />     {<br />         element   : ‘span’,<br />         styles   : { ‘font-size’ : ‘#(size)’ },<br />         overrides : [ { element : 'font', attributes : { 'size' : null } } ]<br />     };</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否强制复制来的内容去除格式 plugins/pastetext/plugin.js<br /> config.forcePasteAsPlainText =false //不去?/span></p> <p><span style="font-family: 宋体; font-size: small;">//是否强制?#8220;&”来代?#8220;&amp;”plugins/htmldataprocessor/plugin.js<br /> config.forceSimpleAmpersand = false;</span></p> <p><span style="font-family: 宋体; font-size: small;">//对address标签q行格式?plugins/format/plugin.js<br /> config.format_address = { element : ‘address’, attributes : { <a title="class" >class</a> : ‘styledAddress’ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对DIV标签自动q行格式?plugins/format/plugin.js<br /> config.format_div = { element : ‘div’, attributes : { class : ‘normalDiv’ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对H1标签自动q行格式?plugins/format/plugin.js<br /> config.format_h1 = { element : ‘h1′, attributes : { class : ‘contentTitle1′ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对H2标签自动q行格式?plugins/format/plugin.js<br /> config.format_h2 = { element : ‘h2′, attributes : { class : ‘contentTitle2′ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对H3标签自动q行格式?plugins/format/plugin.js<br /> config.format_h1 = { element : ‘h3′, attributes : { class : ‘contentTitle3′ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对H4标签自动q行格式?plugins/format/plugin.js<br /> config.format_h1 = { element : ‘h4′, attributes : { class : ‘contentTitle4′ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对H5标签自动q行格式?plugins/format/plugin.js<br /> config.format_h1 = { element : ‘h5′, attributes : { class : ‘contentTitle5′ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对H6标签自动q行格式?plugins/format/plugin.js<br /> config.format_h1 = { element : ‘h6′, attributes : { class : ‘contentTitle6′ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对P标签自动q行格式?plugins/format/plugin.js<br /> config.format_p = { element : ‘p’, attributes : { class : ‘normalPara’ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//对PRE标签自动q行格式?plugins/format/plugin.js<br /> config.format_pre = { element : ‘pre’, attributes : { class : ‘code’ } };</span></p> <p><span style="font-family: 宋体; font-size: small;">//用分号分隔的标签名字 在工h上显C?plugins/format/plugin.js<br /> config.format_tags = ‘p;h1;h2;h3;h4;h5;h6;pre;address;div’</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否使用完整的html~辑模式 如用,其源码将包含Q?lt;html><body></body></html>{标{?br /> config.fullPage = false</span></p> <p><span style="font-family: 宋体; font-size: small;">//~辑器的高度<br /> config.height = 200</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否忽略D落中的I字W?若不忽略 则字W将?#8220;”表示 plugins/wysiwygarea/plugin.js<br /> config.ignoreEmptyParagraph = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//在清除图片属性框中的链接属性时 是否同时清除两边?lt;a>标签 plugins/image/plugin.js<br /> config.image_removeLinkByEmptyURL = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//界面的现实语a 可选择”zh-cn”<br /> config.language = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//一l用逗号分隔的标{֐Uͼ昄在左下角的层ơ嵌套中 plugins/menu/plugin.js.<br /> config.menu_groups =’clipboard,form,tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash,checkbox,radio,textfield,hiddenfield,imagebutton,button,select,textarea’</span></p> <p><span style="font-family: 宋体; font-size: small;">//昄子菜单时的gq,单位Qms plugins/menu/plugin.js<br /> config.menu_subMenuDelay = 400;</span></p> <p><span style="font-family: 宋体; font-size: small;">//当执?#8220;新徏”命oӞ~辑器中的内?plugins/newpage/plugin.js<br /> config.newpage_html=”"</span></p> <p><span style="font-family: 宋体; font-size: small;">//当从word里复制文字进来时Q是否进行文字的格式化去?plugins/pastefromword/plugin.js<br /> config.pasteFromWordIgnoreFontFace = true; //默认为忽略格?/span></p> <p><span style="font-family: 宋体; font-size: small;">//是否使用<h1><h2>{标{修饰或者代替从word文档中粘贴过来的内容 plugins/pastefromword/plugin.js<br /> config.pasteFromWordKeepsStructure = false;</span></p> <p><span style="font-family: 宋体; font-size: small;">//从word中粘贴内Ҏ是否U除格式 plugins/pastefromword/plugin.js<br /> config.pasteFromWordRemoveStyle = false</span></p> <p><span style="font-family: 宋体; font-size: small;">//对应后台语言的类型来对输出的HTML内容q行格式?br /> config.protectedSource.push( /<?[sS]*??>/g );   // PHP Code<br /> config.protectedSource.push( //g );   // ASP Code<br /> config.protectedSource.push( /(]+>[s|S]*?</asp:[^>]+>)|(]+/>)/gi );   // ASP.Net Code<br /> 默认为空</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否允许改变大小 plugins/resize/plugin.js<br /> config.resize_enabled = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//改变大小的最大高?plugins/resize/plugin.js<br /> config.resize_maxHeight = 3000;</span></p> <p>//改变大小的最大宽?plugins/resize/plugin.js<br /> config.resize_maxWidth = 3000;</p> <p><span style="font-family: 宋体; font-size: small;">//改变大小的最高?plugins/resize/plugin.js<br /> config.resize_minHeight = 250;</span></p> <p>//改变大小的最宽?plugins/resize/plugin.js<br /> config.resize_minWidth = 750;</p> <p><span style="font-family: 宋体; font-size: small;">//当输入:shift+Enter是插入的标签<br /> config.shiftEnterMode = CKEDITOR.ENTER_P;//可选:CKEDITOR.ENTER_BR或CKEDITOR.ENTER_DIV</span></p> <p><span style="font-family: 宋体; font-size: small;">//可选界面包<br /> config.skin = ‘default’;</span></p> <p><span style="font-family: 宋体; font-size: small;">//可选的表情替代字符 plugins/smiley/plugin.js.<br /> config.smiley_descriptions = [<br />     ':)', ':(', ';)', ':D', ':/', ':P',<br />     '', '', '', '', '', '',<br />     '', ';(', '', '', '', '',<br />     '', ':kiss', '' ];</span></p> <p><span style="font-family: 宋体; font-size: small;">//对应的表情图?plugins/smiley/plugin.js<br /> config.smiley_images = [<br />     'regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif',<br />     'embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif',<br />     'devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif',<br />     'broken_heart.gif','kiss.gif','envelope.gif'];</span></p> <p><span style="font-family: 宋体; font-size: small;">//表情的地址 plugins/smiley/plugin.js<br /> config.smiley_path = ‘plugins/smiley/images/’</span></p> <p><span style="font-family: 宋体; font-size: small;">//面载入Ӟ~辑框是否立卌得焦?plugins/editingblock/plugin.js plugins/editingblock/plugin.js.<br /> config.startupFocus = false</span></p> <p><span style="font-family: 宋体; font-size: small;">//载入Ӟ以何U方式编?源码和所见即所?“source”?#8221;wysiwyg” plugins/editingblock/plugin.js.<br /> config.startupMode =’wysiwyg’</span></p> <p><span style="font-family: 宋体; font-size: small;">//载入Ӟ是否昄框体的边?plugins/showblocks/plugin.js<br /> config.startupOutlineBlocks = false</span></p> <p><span style="font-family: 宋体; font-size: small;">//是否载入样式文g plugins/stylescombo/plugin.js.<br /> config.stylesCombo_stylesSet = ‘default’;<br /> //以下为可?br /> config.stylesCombo_stylesSet = ‘mystyles’;<br /> config.stylesCombo_stylesSet = ‘mystyles:/editorstyles/styles.js’;<br /> config.stylesCombo_stylesSet = ‘mystyles:http://www.example.com/editorstyles/styles.js’;</span></p> <p><span style="font-family: 宋体; font-size: small;">//起始的烦引?br /> config.tabIndex =0</span></p> <p><span style="font-family: 宋体; font-size: small;">//当用户键入TABӞ~辑器走q的I格敎ͼ(&nbsp;) 当gؓ0Ӟ焦点移出编辑框 plugins/tab/plugin.js<br /> config.tabSpaces = 0</span></p> <p><span style="font-family: 宋体; font-size: small;">//默认使用的模?plugins/templates/plugin.js.<br /> config.templates = ‘default’</span></p> <p><span style="font-family: 宋体; font-size: small;">//用逗号分隔的模板文件plugins/templates/plugin.js.<br /> config.templates_files =[ 'plugins/templates/templates/default.js' ]</span></p> <p><span style="font-family: 宋体; font-size: small;">//当用模板时Q?#8220;~辑内容被替换”框是否选中 plugins/templates/plugin.js<br /> config.templates_replaceContent = true;</span></p> <p><span style="font-family: 宋体; font-size: small;">//主题<br /> config.theme = ‘default’;</span></p> <p><span style="font-family: 宋体; font-size: small;">//使用的工h plugins/toolbar/plugin.js<br /> config.toolbar = ‘Full’</span></p> <p><span style="font-family: 宋体; font-size: small;">q将配合Q?br /> config.toolbar_Full =<br /> [<br />     ['Source','-','Save','NewPage','Preview','-','Templates'],<br />     ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],<br />     ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],<br />     ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],<br />     ‘/’,<br />     ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],<br />     ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],<br />     ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],<br />     ['Link','Unlink','Anchor'],<br />     ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],<br />     ‘/’,<br />     ['Styles','Format','Font','FontSize'],<br /> ['TextColor','BGColor']<br /> ];</span></p> <p><span style="font-family: 宋体; font-size: small;">//工具栏是否可以被收羃 plugins/toolbar/plugin.js.<br /> config.toolbarCanCollapse = true</span></p> <p><span style="font-family: 宋体; font-size: small;">//工具栏的位置 plugins/toolbar/plugin.js<br /> config.toolbarLocation = ‘top’;//可选:bottom</span></p> <p><span style="font-family: 宋体; font-size: small;">//工具栏默认是否展开 plugins/toolbar/plugin.js<br /> config.toolbarStartupExpanded = true;</span></p> <p><span style="font-family: 宋体; font-size: small;">//撤销的记录步?plugins/undo/plugin.js<br /> config.undoStackSize =20</span></p> <p><span style="font-family: 宋体; font-size: small;">//~辑器的宽度 plugins/undo/plugin.js<br /> config.width = “”</span></p> <p><span style="font-family: 宋体; color: #ff0000; font-size: small;">插入囄</span></p> <p><span style="font-family: 宋体; color: #ff0000; font-size: small;">CKEDITOR.instances.content.insertHtml(“<img src=…>”);</span></p> <p><span style="font-family: 宋体; color: #ff0000; font-size: small;">讄倹{取?/span></p> <p>讄?/p> <p>CKEDITOR.instances.content.setData(“千一|络”); // content 是前面 CKEDITOR.replace 的第一个参数?/p> <p>?/p> <p>var editor = CKEDITOR.replace(“content”);<br /> editor.setData(“千一|络”);</p> <p>讄~辑器皮肤、宽?/p> <p><textarea cols=”90″ rows=”10″ id=”content” name=”content”>cftea</textarea><br /> <script type=”text/javascript” src=”ckeditor/ckeditor.js”></script><br /> <script type=”text/javascript”><br /> <!–<br />     CKEDITOR.replace(“content”,<br />       {<br />           skin: “kama”, width:700, height:300<br />       });<br /> //–><br /> </script></p> <p>例子</p> <p>                <asp:TextBox ID=”txtContent” runat=”server” TextMode=”MultiLine”></asp:TextBox></p> <p>                <script type=”text/javascript”><br />                                 <!–<br />                                 CKEDITOR.replace(‘<%= txtContent.ClientID %>’,<br />                                 {<br />                                 toolbar : ‘Product’,<br />                                 width:’580px’,<br />                                 toolbarStartupExpanded:false<br />                                 }<br />                                 );<br />                                 // –><br />                 </script></p> <p>转蝲自:<a >http://www.chhua.com/web-note827</a></p> </div><img src ="http://www.aygfsteel.com/hejia515645/aggbug/374216.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hejia515645/" target="_blank">jse7en</a> 2012-04-15 10:36 <a href="http://www.aygfsteel.com/hejia515645/archive/2012/04/15/374216.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java上CKEditor集成指南http://www.aygfsteel.com/hejia515645/archive/2012/04/14/374187.htmljse7enjse7enSat, 14 Apr 2012 13:23:00 GMThttp://www.aygfsteel.com/hejia515645/archive/2012/04/14/374187.htmlhttp://www.aygfsteel.com/hejia515645/comments/374187.htmlhttp://www.aygfsteel.com/hejia515645/archive/2012/04/14/374187.html#Feedback2http://www.aygfsteel.com/hejia515645/comments/commentRss/374187.htmlhttp://www.aygfsteel.com/hejia515645/services/trackbacks/374187.html阅读全文

jse7en 2012-04-14 21:23 发表评论
]]>
վ֩ģ壺 | | | | ƽ| | | ֶ| | Ϻӿ| SHOW| ֵ| | ɽ| ԭƽ| | Ƽ| | ƫ| ɽ| | ˮ| | ̫| °| | | Ͻ| ȫ| | Ͽ| | | | | ¡| | | Ԫ| | ɽ|