{"id":1237,"date":"2010-11-19T01:36:25","date_gmt":"2010-11-19T07:36:25","guid":{"rendered":"http:\/\/bililite.nfshost.com\/blog\/?p=1237"},"modified":"2011-01-23T12:18:49","modified_gmt":"2011-01-23T18:18:49","slug":"contenteditable","status":"publish","type":"post","link":"https:\/\/bililite.com\/blog\/2010\/11\/19\/contenteditable\/","title":{"rendered":"contentEditable"},"content":{"rendered":"<script src=\"\/inc\/bililiteRange.js\" type=\"text\/javascript\"><\/script>\r\n<script src=\"\/inc\/jquery.sendkeys.js\" type=\"text\/javascript\"><\/script>\r\n<script src=\"\/inc\/jquery.ui.subclass.js\" type=\"text\/javascript\"><\/script>\r\n<script src=\"\/inc\/jquery.textpopup.js\" type=\"text\/javascript\"><\/script>\r\n<p>Now, <a href=\"http:\/\/www.w3.org\/TR\/html5\/editing.html#contenteditable\">this<\/a> is cool:<\/p>\r\n<pre><code class=\"language-html demo\">\r\n&lt;p contentEditable=\"true\"&gt;This is a test (click me)&lt;\/p&gt;\r\n<\/code><\/pre>\r\n<p>I was looking for a in-line editor (on the order of <a href=\"http:\/\/www.appelsiini.net\/projects\/jeditable\">jEditable<\/a>) but it turns out all the modern browsers have it built-in.<\/p>\r\n<p>However, my <a href=\"\/blog\/2008\/08\/20\/the-fnsendkeys-plugin\/\">sendkeys plugin<\/a> doesn't work and the position of <a href=\"\/blog\/2009\/01\/02\/new-ui-widgets-textpopup-and-hebrewkeyboard\/\">textpopupup<\/a> is messed up:<\/p>\r\n<pre><code class=\"language-html demo\">\r\n&lt;p id=\"hebrew\" contentEditable=\"true\"&gt;This is a test (click me)&lt;\/p&gt;\r\n<\/code><\/pre>\r\n<pre><code class=\"language-javascript demo\">\r\n$('#hebrew').hebrewKeyboard();\r\n<\/code><\/pre>\r\n<p>More stuff to work on. Sigh<\/p>\r\n<p>Update 2010-11-21: new textpopup now is positioned correctly. Now to update the documentation and fix sendkeys.<\/p>","protected":false},"excerpt":{"rendered":"Now, this is cool: &lt;p contentEditable=\"true\"&gt;This is a test (click me)&lt;\/p&gt; I was looking for a in-line editor (on the order of jEditable) but it turns out all the modern browsers have it built-in. However, my sendkeys plugin doesn't work and the position of textpopupup is messed up: &lt;p id=\"hebrew\" contentEditable=\"true\"&gt;This is a test (click [&hellip;]","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"_links":{"self":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/1237"}],"collection":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/comments?post=1237"}],"version-history":[{"count":11,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/1237\/revisions"}],"predecessor-version":[{"id":1505,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/posts\/1237\/revisions\/1505"}],"wp:attachment":[{"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/media?parent=1237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/categories?post=1237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bililite.com\/blog\/wp-json\/wp\/v2\/tags?post=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}