 {"id":154,"date":"2010-08-10T21:29:23","date_gmt":"2010-08-10T13:29:23","guid":{"rendered":"http:\/\/www.qyuef.com\/?p=154"},"modified":"2010-08-10T21:29:23","modified_gmt":"2010-08-10T13:29:23","slug":"deans-fckeditor-for-wordpress-3-31%e7%bc%96%e8%be%91%e5%99%a8%e4%b8%ad%e5%8a%a0%e5%85%a5wp-syntax%e4%bb%a3%e7%a0%81%e9%ab%98%e4%ba%ae%e5%bf%ab%e9%80%9f%e6%b7%bb%e5%8a%a0","status":"publish","type":"post","link":"http:\/\/www.qyuef.com\/?p=154","title":{"rendered":"Dean&#8217;s FCKEditor For WordPress 3.31\u7f16\u8f91\u5668\u4e2d\u52a0\u5165WP-Syntax\u4ee3\u7801\u9ad8\u4eae\u5feb\u901f\u6dfb\u52a0"},"content":{"rendered":"<p>\u6700\u8fd1\u7528wordpress\u65b0\u5efa\u4e86\u4e00\u4e2a\u535a\u5ba2\uff0c\u8bb0\u5f55\u4e00\u4e9b\u751f\u6d3b\u7684\u70b9\u70b9\u6ef4\u6ef4\u3002\u5bf9\u4e8e\u6211\u6765\u8bf4wordpress\u662f\u4e00\u4e2a\u964c\u751f\u7684\u7a0b\u5e8f\u3002<o:p><\/o:p><\/p>\n<p>\u6211\u5728\u5199\u535a\u6587\u7684\u65f6\u5019\u5076\u5c14\u4f1a\u52a0\u4e00\u4e9b\u4ee3\u7801\u8fdb\u53bb\u3002\u4e00\u5929\uff0c\u4e00\u4e2a\u670b\u53cb\u5728QQ\u4e0a\u8bf4\u3002\u4f60\u600e\u4e48\u4e0d\u8ba9\u4ee3\u7801\u4ee5\u9ad8\u4eae\u7684\u65b9\u5f0f\u5c55\u73b0\u5462\u3002\u8fd9\u6837\u770b\u90fd\u6ca1\u53d1\u770b\u6e05\u695a\u3002\u4e8e\u662f\u4e4e\u6211\u5728\u7f51\u4e0a\u641c\u4e86\u4e00\u4e0b\u6700\u540e\u8fd8\u662f\u89c9\u5f97\u7528WP-Syntax\u8fd9\u4e2a\u63d2\u4ef6\u3002\u8fd9\u4e2a\u63d2\u4ef6\u552f\u4e00\u4e0d\u597d\u7684\u5730\u65b9\u5c31\u662f\u6bcf\u6b21\u90fd\u8981\u624b\u52a8\u53bb\u6e90\u7801\u4e2d\u52a0\u6807\u7b7e\u3002\u8fd9\u6837\u5f88\u4e0d\u65b9\u4fbf\u3002\u7f51\u4e0a\u901b\u4e86\u4e00\u9635\uff0c\u53d1\u73b0\u5e76\u6ca1\u6709\u6700\u65b0\u7248 \u7684\u4e24\u4e2a\u63d2\u4ef6\u7684\u6574\u5408\u5b9e\u4f8b\u3002<o:p><\/o:p><\/p>\n<p>&nbsp;&nbsp; \u5475\u5475\uff0c\u8fd8\u662f\u81ea\u5df1\u52a8\u624b\uff0c\u4e30\u8863\u8db3\u98df\u3002\u5728\u7f51\u4e0a\u770b\u8fc7\u4e00\u4e9b\u8001\u7684\u4f8b\u5b50\uff0c\u662f\u5229\u7528\u5feb\u6377\u6837\u5f0f\u4e0b\u62c9\u6765\u5b9e\u73b0\u3002\u5475\u5475\uff0c\u501f\u9274\u4e00\u4e0b\uff0c\u6211\u4e5f\u8fd9\u4e48\u505a\u5f97\u4e86\u3002\u7ecf\u8fc7\u4e00\u756a\u52aa\u529b\uff0c\u6700\u540e\u7ec8\u4e8e\u641e\u5b9a\u4e86\u3002<!--more--><o:p><\/o:p><\/p>\n<p>\u6b65\u51d1\u53ea\u6709\u4e8c\u4e2a\uff1a<o:p><\/o:p><\/p>\n<p>\u9996\u5148\u627e\u5230\uff1a<o:p><\/o:p><\/p>\n<p>wp-content\/plugins\/fckeditor-for-wordpress-plugin\/ckeditor\/plugins\/stylescombo\/styles\/default.js<o:p><\/o:p><\/p>\n<p>\u7136\u540e\u5c06\u91cc\u9762\u7684\u4ee3\u7801\u66ff\u6362\u4e3a\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n<pre escaped=\"true\" line=\"1\">\nCKEDITOR.addStylesSet('default',[{name:'Blue Title',element:'h3',styles:{color:'Blue'}},{name:'php',element:'pre',attributes:{lang:'php',line:'1',escaped:'true'}},{name:'html',element:'pre',attributes:{lang:'html',line:'1',escaped:'true'}},{name:'css',element:'pre',attributes:{lang:'css',line:'1',escaped:'true'}},{name:'javascript',element:'pre',attributes:{lang:'javascript',line:'1',escaped:'true'}},{name:'sql',element:'pre',attributes:{lang:'sql',line:'1',escaped:'true'}},{name:'Red Title',element:'h3',styles:{color:'Red'}},{name:'Marker: Yellow',element:'span',styles:{'background-color':'Yellow'}},{name:'Marker: Green',element:'span',styles:{'background-color':'Lime'}},{name:'Big',element:'big'},{name:'Small',element:'small'},{name:'Typewriter',element:'tt'},{name:'Computer Code',element:'code'},{name:'Keyboard Phrase',element:'kbd'},{name:'Sample Text',element:'samp'},{name:'Variable',element:'var'},{name:'Deleted Text',element:'del'},{name:'Inserted Text',element:'ins'},{name:'Cited Work',element:'cite'},{name:'Inline Quotation',element:'q'},{name:'Language: RTL',element:'span',attributes:{dir:'rtl'}},{name:'Language: LTR',element:'span',attributes:{dir:'ltr'}},{name:'Image on Left',element:'img',attributes:{style:'padding: 5px; margin-right: 5px',border:'2',align:'left'}},{name:'Image on Right',element:'img',attributes:{style:'padding: 5px; margin-left: 5px',border:'2',align:'right'}}]);\n\n<\/pre>\n<p>&nbsp;<\/p>\n<p>\u4e3a\u4e86\u9632\u6b62\u4ee3\u7801\u8fc7\u957f\u9020\u6210\u9875\u9762\u53d8\u5f62\uff1b\u8bf7\u5c06\u4ee5\u4e0b\u4ee3\u7801\u52a0\u5165\u5728\u4f60\u4f7f\u7528\u7684css\u5f53\u4e2d\uff1a<\/p>\n<pre escaped=\"true\" lang=\"css\" line=\"1\">\n.wp_syntax {\n  color: #100;\n  background-color: #f9f9f9;\n  border: 1px solid silver;\n  margin: 0 0 1.5em 0;\n  overflow: auto;width:40%;\n}\n\n\/* IE FIX *\/\n.wp_syntax {\n  overflow-x: auto;\n  overflow-y: hidden;\n  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);\n}\n\n.wp_syntax table {\n  table-layout:fixed;\n  overflow:hidden;\n  text-overflow:ellipsis;\n  WORD-BREAK: break-all;\n  WORD-WRAP: break-word;\n  border-collapse: collapse;\n}\n\n.wp_syntax div, .wp_syntax td {\n  vertical-align: top;\n  padding: 2px 4px;\n}\n\n.wp_syntax .line_numbers {\n  text-align: right;\n  background-color: #def;\n  width:30px;\n  color: gray;\n  overflow: visible;\n  font-family: 'Lucida Grande',\n  'Trebuchet MS', Verdana, Helvetica, Arial, sans-serif;\n}\n\n\/* potential overrides for other styles *\/\n.wp_syntax pre {\n  margin: 0;\n  width: fixed;\n  float: none;\n  clear: none;\n  WORD-BREAK: break-all;\n  WORD-WRAP: break-word;\n  overflow: visible;\n  font-size:8pt;\n  font-family: Courier New;\n}\n<\/pre>\n<p>\u4ee5\u4e0a\u4ee3\u7801\u6211\u53ea\u52a0\u4e86\u51e0\u79cd\u811a\u672c\uff0c\u5982\u679c\u4f60\u9700\u8981\u5176\u4ed6\u7684\u53ef\u4ee5\u5b89\u88c5\u683c\u5f0f\u6dfb\u52a0\uff1b<\/p>\n<p class=\"MsoNormal\"><span lang=\"EN-US\" style=\"font-size:8.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;\ncolor:black;mso-bidi-font-weight:bold\"><o:p><\/o:p><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u7528wordpress\u65b0\u5efa\u4e86\u4e00\u4e2a\u535a\u5ba2\uff0c\u8bb0\u5f55\u4e00\u4e9b\u751f\u6d3b\u7684\u70b9\u70b9\u6ef4\u6ef4\u3002\u5bf9\u4e8e\u6211\u6765\u8bf4wordpress\u662f\u4e00\u4e2a\u964c\u751f\u7684\u7a0b\u5e8f\u3002 \u6211\u5728\u5199\u535a\u6587\u7684\u65f6\u5019\u5076\u5c14\u4f1a\u52a0\u4e00\u4e9b\u4ee3\u7801\u8fdb\u53bb\u3002\u4e00\u5929\uff0c\u4e00\u4e2a\u670b\u53cb\u5728QQ\u4e0a\u8bf4\u3002\u4f60\u600e\u4e48\u4e0d\u8ba9\u4ee3\u7801\u4ee5\u9ad8\u4eae\u7684\u65b9\u5f0f\u5c55\u73b0\u5462\u3002\u8fd9\u6837\u770b\u90fd\u6ca1\u53d1\u770b\u6e05\u695a\u3002\u4e8e\u662f\u4e4e\u6211\u5728<a rel=\"nofollow\" class=\"more-link\" style=\"text-decoration:none;\" href=\"http:\/\/www.qyuef.com\/?p=154\">&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[23,41,44,52],"tcat":[],"_links":{"self":[{"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/posts\/154"}],"collection":[{"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=154"}],"version-history":[{"count":0,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=\/wp\/v2\/posts\/154\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=154"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=154"},{"taxonomy":"tcat","embeddable":true,"href":"http:\/\/www.qyuef.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftcat&post=154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}