{"id":1064,"date":"2005-12-30T05:11:18","date_gmt":"2005-12-29T23:41:18","guid":{"rendered":"http:\/\/tao.kaoart.info\/blog-others\/kunstao\/2005\/433\/"},"modified":"2005-12-30T05:11:18","modified_gmt":"2005-12-29T23:41:18","slug":"wp%e7%9a%84quicktags%e6%8c%89%e9%92%ae%e6%b7%bb%e5%8a%a0%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/tao0.date\/?p=1064","title":{"rendered":"wp\u7684Quicktags\u6309\u94ae\u6dfb\u52a0\u65b9\u6cd5"},"content":{"rendered":"<p><a href=\"http:\/\/www.wordpress.org\/\" target=\"_blank\">wordpress<\/a>\u5728\u540e\u53f0\u53d1\u5e03\u65e5\u5fd7\u7684\u65f6\u5019\uff0c\u600e\u6837\u6dfb\u52a0\u81ea\u5df1\u60f3\u8981\u7684\u6309\u94ae? \t<\/p>\n<p>\u56e0\u4e3a<acronym title=\"Wordpress\">wp<\/acronym>\u5199\u65e5\u5fd7\u7684\u65f6\u5019\uff0c\u6ca1\u6709\u6240\u89c1\u5373\u6240\u5f97\u7f16\u8f91\u5668\uff0c\u6240\u4ee5\u4e0d\u80fd\u5f88\u65b9\u4fbf\u5feb\u901f\u7684\u8fdb\u884c\u6587\u5b57\u6392\u7248\uff0c\u4e0d\u8fc7\u53ef\u4ee5\u4f7f\u7528<acronym title=\"HyperText Markup Language\">HTML<\/acronym>\u4ee3\u7801\u6765\u6392\u7248\uff0c\u53ef\u662f\u5bf9\u4e8e\u624b\u5199\u4ee3\u7801\u4e0d\u662f\u5f88\u719f\u6089\u7684\u670b\u53cb\uff0c\u5c31\u633a\u9ebb\u70e6\u4e86\uff0c\u800c\u4e14\u5982\u679c\u624b\u5199\u4ee3\u7801\u5f88\u719f\u6089\uff0c\u4e5f\u4e0d\u662f\u5f88\u65b9\u4fbf\u3002<\/p>\n<p>\u6240\u4ee5\u53ef\u4ee5\u6dfb\u52a0\u4e00\u4e9b\u7c7b\u4f3c\u9ed8\u8ba4\u7684Quicktags\u6309\u94ae\u6765\u65b9\u4fbf\u63d2\u5165<acronym title=\"HyperText Markup Language\">HTML<\/acronym>\u4ee3\u7801\u3002<\/p>\n<p> \t<!--more--><\/p>\n<p>\u6dfb\u52a0\u65b9\u6cd5\uff1a<\/p>\n<blockquote>\n<p>\u627e\u5230<acronym title=\"Wordpress\">wp<\/acronym>\u7684<acronym title=\"Wordpress\">wp<\/acronym>-admin\u76ee\u5f55\uff0c\u627e\u5230Quicktags.js\u6587\u4ef6\uff0c\u6253\u5f00\u4e4b\u540e\uff0c\u627e\u5230\u7c7b\u4f3c\u8fd9\u6837\u7684\u4ee3\u7801\uff1a<\/p>\n<div class=\"hl-surround\">\n<ol class=\"hl-main\">\n<li class=\"hl-firstline\"><span style=\"color: Blue;\">edButtons<\/span><span style=\"color: Olive;\">[<\/span><span style=\"color: Blue;\">edButtons<\/span><span style=\"color: Gray;\">.<\/span><span style=\"color: Blue;\">length<\/span><span style=\"color: Olive;\">]<\/span><span style=\"color: Gray;\"> = <\/span><\/li>\n<li><span style=\"color: Gray;\"><\/span><span style=\"color: Green;\">new<\/span><span style=\"color: Gray;\"> <\/span><span style=\"color: Blue;\">edButton<\/span><span style=\"color: Olive;\">(<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">ed_strong<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\">,<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">b<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\">,<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">&lt;strong&gt;<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\">,<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">&lt;\/strong&gt;<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\">,<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">b<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\"><\/span><span style=\"color: Olive;\">)<\/span><span style=\"color: Gray;\">;<\/span><\/li>\n<\/ol>\n<\/div>\n<p>\u4e0b\u9762\u4f9d\u846b\u82a6\u5212\u74e2\uff0c\u53ef\u4ee5\u5728\u7c7b\u4f3c\u4e0a\u9762\u4ee3\u7801\u7684\u524d\u540e\u63d2\u5165\u4f60\u81ea\u5df1\u60f3\u8981\u6dfb\u52a0\u7684\u6309\u94ae\uff1a<\/p>\n<div class=\"hl-surround\">\n<ol class=\"hl-main\">\n<li class=\"hl-firstline\"><span style=\"color: Blue;\">edButtons<\/span><span style=\"color: Olive;\">[<\/span><span style=\"color: Blue;\">edButtons<\/span><span style=\"color: Gray;\">.<\/span><span style=\"color: Blue;\">length<\/span><span style=\"color: Olive;\">]<\/span><span style=\"color: Gray;\"> = <\/span><\/li>\n<li><span style=\"color: Gray;\"><\/span><span style=\"color: Green;\">new<\/span><span style=\"color: Gray;\"> <\/span><span style=\"color: Blue;\">edButton<\/span><span style=\"color: Olive;\">(<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">ed_font<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\">,<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">font<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\">,<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">&lt;font style=&#8221;color:red;font-size:16px;&#8221;&gt;<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\">,<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">&lt;\/font&gt;<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\">,<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Red;\">b<\/span><span style=\"color: rgb(139, 0, 0);\">&#8216;<\/span><span style=\"color: Gray;\"><\/span><\/li>\n<li><span style=\"color: Gray;\"><\/span><span style=\"color: Olive;\">)<\/span><span style=\"color: Gray;\">;<\/span><\/li>\n<\/ol>\n<\/div>\n<p>\u4fdd\u5b58\u6587\u4ef6\u3002<br \/>\u7136\u540e\u53bb\u5199\u65e5\u5fd7\u7684\u9875\u9762\u770b\u770b\u5427\uff0c\u662f\u4e0d\u662f\u591a\u4e86\u4e00\u4e2a\u201cfont\u201d\u6309\u94ae\u5462\uff1f\u5475\u5475\uff0c\u7b80\u5355\u5427\u3002 <\/p>\n<\/blockquote>\n<p>\u4e0a\u9762\u6dfb\u52a0\u7684font\u6309\u94ae\u53ef\u4ee5\u7528\u6765\u6539\u53d8\u5b57\u4f53\u5927\u5c0f\u989c\u8272\uff0c\u53ea\u8981\u4fee\u6539\u4e00\u4e0bred\u548c16px\u90e8\u5206\u4e3a\u81ea\u5df1\u60f3\u8981\u7684\u989c\u8272\u548c\u5927\u5c0f\uff1a<\/p>\n<div class=\"hl-surround\">\n<ol class=\"hl-main\">\n<li class=\"hl-firstline\"><span style=\"color: Olive;\">&lt;<\/span><span style=\"color: Green;\">font<\/span><span style=\"color: Gray;\"> <\/span><span style=\"color: rgb(0, 0, 139);\">style<\/span><span style=\"color: Gray;\">=<\/span><span style=\"color: rgb(139, 0, 0);\">&#8220;<\/span><span style=\"color: Red;\">color:red;font-size:16px;<\/span><span style=\"color: rgb(139, 0, 0);\">&#8220;<\/span><span style=\"color: Olive;\">&gt;&lt;\/<\/span><span style=\"color: Green;\">font<\/span><span style=\"color: Olive;\">&gt;<\/span><\/li>\n<\/ol>\n<\/div>\n<p>\u6700\u540e\uff0c\u8981\u8bf4\u7684\u662f\uff0c\u5982\u679c\u5bf9<acronym title=\"HyperText Markup Language\">HTML<\/acronym>\u6ca1\u6709\u57fa\u7840\u7684\uff0c\u8fd8\u662f\u4f1a\u89c9\u5f97\u4e0d\u65b9\u4fbf\u3002\u4e0d\u8fc7\u53ef\u4ee5\u53bb\u88c5\u4e00\u4e2a<acronym title=\"Wordpress\">wp<\/acronym>\u4f7f\u7528\u7684\u6240\u89c1\u5373\u6240\u5f97\u7f16\u8f91\u5668\u3002<br \/>\u8fd9\u91cc\u5462\u6211\u5c31\u4e0d\u4ecb\u7ecd<acronym title=\"Wordpress\">wp<\/acronym>\u7684\u6240\u89c1\u5373\u6240\u5f97\u7f16\u8f91\u5668\u4e86\u3002\u56e0\u4e3a\u6211\u6bd4\u8f83\u559c\u6b22<acronym title=\"Wordpress\">wp<\/acronym>\u8fd9\u6837\u7684Quicktags\u6309\u94ae\u3002<\/p>\n<p>\/*\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u4f5c\u8005\uff1a\u963f\u8f9b(Xinple)<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u65f6\u95f4\uff1a2005-11-3<br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\u5730\u70b9\uff1ahttp:\/\/xinple.org<br \/>&nbsp;&nbsp;\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014-*\/ <\/p>\n","protected":false},"excerpt":{"rendered":"<p>wordpress\u5728\u540e\u53f0\u53d1\u5e03\u65e5\u5fd7\u7684\u65f6\u5019\uff0c\u600e\u6837\u6dfb\u52a0\u81ea&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1064","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts\/1064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1064"}],"version-history":[{"count":0,"href":"https:\/\/tao0.date\/index.php?rest_route=\/wp\/v2\/posts\/1064\/revisions"}],"wp:attachment":[{"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tao0.date\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}