{"id":62468,"date":"2018-08-15T08:49:45","date_gmt":"2018-08-14T23:49:45","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=62468"},"modified":"2018-08-15T08:49:45","modified_gmt":"2018-08-14T23:49:45","slug":"tiny-editor","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/tiny-editor\/","title":{"rendered":"TinyEditor -\u308f\u305a\u304b400\u30d0\u30a4\u30c8\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u69cb\u6210\u3055\u308c\u305fHTML\/CSS\/JS\u30a8\u30c7\u30a3\u30bf"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2018\/08\/s_20180813_213312.jpg\" alt=\"S 20180813 213312\" title=\"s_20180813_213312.jpg\" border=\"0\" width=\"1165\" height=\"725\" \/><\/p>\n<p>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306b\u306fHTML\u3084CSS\u3001JavaScript\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u5165\u529b\u3057\u3001\u7d50\u679c\u3092\u78ba\u8a8d\u3067\u304d\u308b\u300c<a href=\"http:\/\/jsfiddle.net\/\">JSFiddle<\/a>\u300d\u3084\u300c<a href=\"https:\/\/codepen.io\/\">CodePen<\/a>\u300d\u3068\u3044\u3063\u305f\u4fbf\u5229\u306aWeb\u30b5\u30fc\u30d3\u30b9\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u306e\u30b5\u30fc\u30d3\u30b9\u306f\u5404\u7a2eJavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30ed\u30fc\u30c9\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u305f\u308a\u3001\u4f5c\u6210\u3057\u305f\u60c5\u5831\u306e\u5171\u6709\u304c\u53ef\u80fd\u3060\u3063\u305f\u308a\u3001\u8c4a\u5bcc\u306a\u6a5f\u80fd\u304c\u30a6\u30ea\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u306a\u3089\u3070\u307b\u3093\u306e\u308f\u305a\u304b\u306a\u30b3\u30fc\u30c9\u3067\u5b9f\u73fe\u3067\u304d\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u56de\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/github.com\/umpox\/TinyEditor\">TinyEditor<\/a>\u300d\u305d\u306e\u3088\u3046\u306a\u57fa\u672c\u6a5f\u80fd\u3092400\u30d0\u30a4\u30c8\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u5b9f\u73fe\u3057\u305fHTML\/CSS\/JS\u30a8\u30c7\u30a3\u30bf\u3067\u3059\u3002\u9a5a\u304f\u307b\u3069\u5c11\u306a\u3044\u30b3\u30fc\u30c9\u91cf\u306b\u3088\u3063\u3066\u3001\u753b\u9762\u306b\u5165\u529b\u3057\u305fHTML\u3084CSS\u3001JavaScript\u306e\u7d50\u679c\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b4\u30da\u30a4\u30f3\u5f0f\u306eHTML\u30a8\u30c7\u30a3\u30bf\u304c\u5b9f\u73fe\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>TinyEditor\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>TinyEditor\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u60c5\u5831\u3092\u30d6\u30e9\u30a6\u30b6\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306b\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<\/p>\n<pre>data:text\/html,&lt;body&nbsp;oninput=\"i.srcdoc=h.value+'&lt;style&gt;'+c.value+'&lt;\/style&gt;&lt;script&gt;'+j.value+'&lt;\/script&gt;'\"&gt;&lt;style&gt;textarea,iframe{width:100%;height:50%}body{margin:0}textarea{width:33.33%;font-size:18}&lt;\/style&gt;&lt;textarea&nbsp;placeholder=HTML&nbsp;id=h&gt;&lt;\/textarea&gt;&lt;textarea&nbsp;placeholder=CSS&nbsp;id=c&gt;&lt;\/textarea&gt;&lt;textarea&nbsp;placeholder=JS&nbsp;id=j&gt;&lt;\/textarea&gt;&lt;iframe&nbsp;id=i&gt;\n<\/pre>\n<p>\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2018\/08\/usage-1.jpg\" alt=\"Usage\" title=\"usage.jpg\" border=\"0\" width=\"1146\" height=\"715\" \/><\/p>\n<p>\u25b2\u4e0a\u534a\u5206\u304c\u5165\u529b\u90e8\u3067\u5de6\u304b\u3089\u300cHTML\u300d\u300cCSS\u300d\u300cJavaScript\u300d\u3092\u5165\u529b\u3067\u304d\u307e\u3059\u3002\u4e0b\u534a\u5206\u304c\u30d7\u30ec\u30d3\u30e5\u30fc\u90e8\u3067\u5165\u529b\u3055\u308c\u305f\u60c5\u5831\u304c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u52d5\u4f5c\u3092\u89e3\u6790\u3057\u305f\u3044\u5834\u5408<a href=\"https:\/\/github.com\/umpox\/TinyEditor\/blob\/master\/index.html\">index.html<\/a>\u3092\u53c2\u7167\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002\u753b\u9762\u306b3\u3064\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2\u30681\u3064\u306eiframe\u304c\u914d\u7f6e\u3055\u308ciframe\u306esrcdoc\u304c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u66f8\u304d\u63db\u3048\u3089\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>TinyEditor\u306f\u6975\u5c0f\u30b5\u30a4\u30ba\u306e\u30b3\u30fc\u30c9\u3067\u69cb\u6210\u3055\u308c\u305fHTML\/CSS\/JS\u30a8\u30c7\u30a3\u30bf\u3067\u3059\u3002<a href=\"https:\/\/news.ycombinator.com\/item?id=17739558\">Hacker News<\/a>\u3084<a href=\"https:\/\/www.reddit.com\/r\/programming\/comments\/95d4ig\/tinyeditor_a_functional_htmlcssjs_editor_in_less\/\">Reddit<\/a>\u3067\u3082\u3053\u306e\u767a\u60f3\u306b\u9a5a\u304d\u306e\u30b3\u30e1\u30f3\u30c8\u304c\u5bc4\u305b\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u4e16\u754c\u4e2d\u306e\u30cf\u30c3\u30ab\u30fc\u304cTinyEditor\u30a8\u30c7\u30a3\u30bf\u3092\u3069\u306e\u3088\u3046\u306b\u8a55\u4fa1\u3057\u3066\u3044\u308b\u306e\u304b\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u53c2\u7167\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306b\u306fHTML\u3084CSS\u3001JavaScript\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u5165\u529b\u3057\u3001\u7d50\u679c\u3092\u78ba\u8a8d\u3067\u304d\u308b\u300cJSFiddle\u300d\u3084\u300cCodePen\u300d\u3068\u3044\u3063\u305f\u4fbf\u5229\u306aWeb\u30b5\u30fc\u30d3\u30b9\u304c\u5b58\u5728\u3057\u307e\u3059\u3002 \u3053\u308c\u3089\u306e\u30b5\u30fc\u30d3\u30b9\u306f\u5404\u7a2eJavaScript [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":62495,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[4160],"class_list":["post-62468","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-tinyeditor"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/62468","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=62468"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/62468\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/62495"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=62468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=62468"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=62468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}