{"id":528,"date":"2011-08-05T00:19:27","date_gmt":"2011-08-04T23:19:27","guid":{"rendered":"http:\/\/www.poil.dk\/s\/?p=528"},"modified":"2012-03-28T15:14:38","modified_gmt":"2012-03-28T14:14:38","slug":"inlineeditor-an-inline-editor-for-dokuwiki","status":"publish","type":"post","link":"https:\/\/www.poil.dk\/s\/inlineeditor-an-inline-editor-for-dokuwiki\/528","title":{"rendered":"Inlineeditor: An inline editor for dokuwiki"},"content":{"rendered":"<p><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-8640848843881724\";\n\/* testwiki3 *\/\ngoogle_ad_slot = \"6209104796\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><\/p>\n<p>To support easy editing of <a href=\"http:\/\/www.nbtwiki.net\" target=\"_blank\">NBTwiki pages<\/a>, I have implemented an inline editor. The inline editor appears if the user double click the text; like this:<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"The inline editor\" src=\"http:\/\/sourceforge.net\/p\/dokuineditor\/screenshot\/screenshot.png\" alt=\"\" width=\"895\" height=\"254\" \/><\/p>\n<p>Clicking the green button will save text changes. And clicking the red button will discard the changes.<\/p>\n<p>The editor in action:<\/p>\n<iframe loading=\"lazy\" width=\"750\" height=\"563\" src=\"https:\/\/www.youtube.com\/embed\/aFeewwa_Tew?feature=oembed\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe>\n<p>&nbsp;<\/p>\n<p>Tech stuff:<\/p>\n<p>The editor is builded on code from the quickedit plugin. Compared with the quickedit plugin, the inlineeditor supports locking\/unlocking of pages, an editor toolbar, and better security.<\/p>\n<p>The editor is build using javascript, php &#8211; and the updates are done using AJAX.<\/p>\n<p>You can find the inlineeditor plugin here: http:\/\/www.dokuwiki.org\/plugin:inlineeditor<\/p>\n<p>&nbsp;<br \/>\n<script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"ca-pub-8640848843881724\";\n\/* uu *\/\ngoogle_ad_slot = \"4184676107\";\ngoogle_ad_width = 728;\ngoogle_ad_height = 90;\n\/\/-->\n<\/script><br \/>\n<script type=\"text\/javascript\"\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><br \/>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To support easy editing of NBTwiki pages, I have implemented an inline editor. The inline editor appears if the user double click the text; like this:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[78,77],"class_list":["post-528","post","type-post","status-publish","format-standard","hentry","category-infobubble","tag-dokuwiki","tag-nbtwiki"],"_links":{"self":[{"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/posts\/528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/comments?post=528"}],"version-history":[{"count":8,"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/posts\/528\/revisions"}],"predecessor-version":[{"id":559,"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/posts\/528\/revisions\/559"}],"wp:attachment":[{"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/media?parent=528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/categories?post=528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poil.dk\/s\/wp-json\/wp\/v2\/tags?post=528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}