{"id":150720,"date":"2020-09-03T05:02:04","date_gmt":"2020-09-02T21:02:04","guid":{"rendered":"http:\/\/4563.org\/?p=150720"},"modified":"2020-09-03T05:02:04","modified_gmt":"2020-09-02T21:02:04","slug":"%e5%89%8d%e7%ab%af%e5%a4%a7%e4%bd%ac%e4%bb%ac%ef%bc%8c%e8%af%b7%e6%95%99%e9%97%ae%e9%a2%98%e5%95%a6","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=150720","title":{"rendered":"\u524d\u7aef\u5927\u4f6c\u4eec\uff0c\u8bf7\u6559\u95ee\u9898\u5566~"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u524d\u7aef\u5927\u4f6c\u4eec\uff0c\u8bf7\u6559\u95ee\u9898\u5566~               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : supuwoerc <\/span>  <span><i><\/i> 20<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8bbe\u7f6e\u4e86\u53ef\u7f16\u8f91 div\uff0c\u4f46\u662f\u9000\u683c\u952e\u4e0d\u80fd\u5220\u9664\u6587\u5b57\u4e86\uff0c\u8bf7\u95ee\u662f\u4ec0\u4e48\u60c5\u51b5\uff1f=\u3002=<\/p>\n<pre><code>&lt;div class=\"show-none\" contenteditable=\"true\"&gt;&lt;\/div&gt; <\/code><\/pre>\n<p>\u5728\u672c\u5730\u5f00\u53d1\u73af\u5883\u662f\u6b63\u5e38\u7684\uff0c\u66f4\u65b0\u5230\u670d\u52a1\u5668\u4e0a\u5c31\u53ea\u80fd\u6dfb\u52a0\u6587\u5b57\uff0c\u4e0d\u80fd\u9000\u683c\u5220\u9664\u4e86\u3002<\/p>\n<p>\u5728\u9875\u9762\u6240\u6709 js \u91cc\u9762\u641c\u7d22\u4e86 keyCode \u76f8\u5173\uff0c\u6ca1\u770b\u5230\u7981\u6b62\u9000\u683c\u952e\u7684\u4ee3\u7801\u3002<\/p>\n<p>\u5f88\u7740\u6025\u5f88\u65e0\u529b\u3002<\/p>\n<p>\u8bf7\u6559\u5927\u5bb6\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>12<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2971826\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : anjianshi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6709\u6ca1\u6709\u793a\u4f8b\u7684\u4ee3\u7801\u561e\u3002\u641e\u4e2a\u80fd\u590d\u73b0\u95ee\u9898\u7684\u5c3d\u91cf\u7cbe\u7b80\u7684 html \u51fa\u6765                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971827\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : supuwoerc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @anjianshi \u989d\uff0c\u5c31\u662f\u4e0d\u6e05\u695a\u662f\u4ec0\u4e48\u5bfc\u81f4\u7684=\u3002= \u6240\u4ee5\u5f88\u65e0\u5948\uff0c\u4e00\u70b9\u89e3\u51b3\u601d\u8def\u90fd\u6ca1\u6709&#8230;&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971828\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : anjianshi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @supuwoerc \u7528\u7684 jquery \u3001react \u3001vue \u8fd8\u662f\u7eaf js \u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971829\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : supuwoerc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @anjianshi jQuery+Layui\uff0c\u5f88\u8001\u7684 OA \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971830\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : des <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3\u4e48\uff0c\u80fd\u6253\u5b57\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971831\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SakuraKuma <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u70b9\u5f00\u770b\u770b\u90a3 div \u7684\u4e8b\u4ef6\u90fd\u6709\u54ea\u4e9b, \u4e00\u4e2a\u4e2a\u6392\u67e5\u5457                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971832\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : topsy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/stackoverflow.com\/questions\/17890568\/contenteditable-div-backspace-and-deleting-text-node-problems\/18069930#18069930<br \/>\u53ef\u4ee5\u770b\u4e00\u4e0b\u8fd9\u4e2a\uff0c\u8bf4\u662f\u7528\u7a7a\u683c\u9694\u5f00\u6807\u7b7e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971833\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : supuwoerc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @des <br \/>@SakuraKuma <br \/>@anjianshi <br \/>\u611f\u8c22\u5404\u4f4d\uff0c\u5c0f\u5f1f\u628a\u6574\u4e2a\u5e73\u53f0\u7684 js \u5168\u6587\u641c\u7d22\u4e86\u4e00\u904d\uff0c\u7ec8\u4e8e\u5728\u67d0\u4e2a\u7f16\u8f91\u4e8e 14 \u5e74\u7684 js \u91cc\u9762\u770b\u5230\u4e86\u7981\u6b62\u9000\u683c\u952e\u7684\u4e8b\u4ef6\uff0c\u4e4b\u524d\u641c\u7d22\u7684\u5c42\u7ea7\u4e0d\u591f\u9ad8\uff0c\u8fd9\u6b21\u662f\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u7684\u8bf7\u6c42\u91cc\u628a\u6240\u6709 js \u4e0b\u8f7d\u4e86\u4e0b\u6765\u641c\u7d22\u7684\uff0c\u4f9d\u65e7\u5341\u5206\u611f\u8c22\u5927\u5bb6=\u3002=                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971834\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qiaobeier <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ||@supuwoerc \u5c4e\u5c71\u4e00\u65e5\u6e38                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971835\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Sapp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @supuwoerc &#8230; \u4f60\u8fd9\u79cd\u4ee3\u7801\u600e\u4e48\u7ef4\u62a4\uff0c\u8fd9\u6b21\u627e\u5230\u4e86\uff0c\u4e0b\u6b21\u600e\u4e48\u627e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971836\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : luvsic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6d4f\u89c8\u5668\u53f3\u952e\u68c0\u67e5\u5143\u7d20\uff0c\u53ef\u4ee5\u770b\u5230\u5143\u7d20\u7ed1\u5b9a\u7684\u6240\u6709\u4e8b\u4ef6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2971837\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : supuwoerc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @qiaobeier \u8001\u5c4e\u58f3\u90ce\u4e86=\u3002=||                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u7aef\u5927\u4f6c\u4eec\uff0c\u8bf7\u6559\u95ee\u9898\u5566~ \u8cc7\u6df1\u5927\u4f6c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/150720"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=150720"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/150720\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=150720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=150720"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=150720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}