{"id":706,"date":"2019-11-27T13:44:02","date_gmt":"2019-11-27T21:44:02","guid":{"rendered":"http:\/\/splot.ca\/writer\/?p=706"},"modified":"2019-11-27T13:44:02","modified_gmt":"2019-11-27T21:44:02","slug":"the-little-button-that-could","status":"publish","type":"post","link":"https:\/\/splot.ca\/writer\/2019\/706","title":{"rendered":"The Little Button That Could"},"content":{"rendered":"<p>In the beginning there was a <a href=\"http:\/\/splot.ca\/writer\">Writer SPLOT<\/a>. And it was <em><strong>good<\/strong><\/em>. Though it turned out a bit more complicated than it need be. Yes, there is a time to do less code, not more.<\/p>\n<div style=\"width: 529px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/live.staticflickr.com\/5616\/15477940457_f324e22832_b.jpg\" alt=\"Simple Sign\" width=\"519\" height=\"554\" \/><p class=\"wp-caption-text\">&#8220;Creativity? Simple. U 2 ds106&#8221; flickr photo by cogdogblog https:\/\/flickr.com\/photos\/cogdog\/15477940457 shared under a Creative Commons (BY) license<\/p><\/div>\n<p>But how many people know or will bother with finding direct links to image URLs? What about something closer to the media uploader, so images could be inserted\/uploaded in the midst of writing?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" src=\"http:\/\/splot.ca\/writer\/files\/2019\/11\/insert-image.jpg\" alt=\"\" width=\"116\" height=\"67\" \/>Is that magic?\u00a0 It seemed so. But try that <strong>Insert Image<\/strong> button now in the editor, and hit the <strong>Upload<\/strong> tab.\u00a0 You can select or drag and drop an image there, watch the icon spin while it uploads to the site, and BOOM! It&#8217;s in the Writing area content.<\/p>\n<p>If you missed it, this is done without being logged in any any way to WordPress, and not using the media uploader (though behind the scenes, the media end up there). That&#8217;s the little <del>engine<\/del> button that <em>could<\/em>.<\/p>\n<div style=\"width: 1034px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.flickr.com\/photos\/cogdog\/38042632925\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/splot.ca\/writer\/files\/2019\/11\/38042632925_eb844c3c68_k-1024x683.jpg\" alt=\"A toy train engine. It can.\" width=\"1024\" height=\"683\" \/><\/a><p class=\"wp-caption-text\">&#8220;The Engine&#8221; flickr photo by cogdogblog https:\/\/flickr.com\/photos\/cogdog\/38042632925 shared into the public domain using (CC0)<\/p><\/div>\n<p>This is all in <a href=\"https:\/\/github.com\/cogdog\/truwriter\">the newest version of TRU Writer<\/a>. The little SPLOT that can.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the beginning there was a Writer SPLOT. And it was good. Though it turned out a bit more complicated than it need be. Yes, there is a time to do less code, not more. But how many people know or will bother with finding direct links to image URLs? What about something closer to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":705,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[40],"class_list":["post-706","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-published","category-thought-pieces","tag-splot"],"splot_meta":{"author":"Alan Levine @cogdog","license":"by","footer":"One small step for SPLOT code, one giant leap for y'all."},"_links":{"self":[{"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/posts\/706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/comments?post=706"}],"version-history":[{"count":1,"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/posts\/706\/revisions"}],"predecessor-version":[{"id":707,"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/posts\/706\/revisions\/707"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/media\/705"}],"wp:attachment":[{"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/media?parent=706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/categories?post=706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/splot.ca\/writer\/wp-json\/wp\/v2\/tags?post=706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}