{"id":608,"date":"2023-03-27T10:10:18","date_gmt":"2023-03-27T08:10:18","guid":{"rendered":"http:\/\/localhost:8888\/?p=608"},"modified":"2025-11-26T10:10:18","modified_gmt":"2025-11-26T10:10:18","slug":"download-block","status":"publish","type":"post","link":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/2023\/03\/download-block\/","title":{"rendered":"Download Block"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <strong>Download<\/strong> block allows us to download the content produced by other inseri blocks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, let&#8217;s write some text in a Text Editor block.<\/p>\n\n\n\n<div class=\"wp-block-inseri-core-text-editor\" data-attributes=\"{&quot;blockId&quot;:&quot;1EyC7Q7EqJQN4o6Uw4oZd&quot;,&quot;content&quot;:&quot;Hello%20World.&quot;,&quot;contentType&quot;:&quot;text\/plain&quot;,&quot;editable&quot;:true,&quot;height&quot;:150,&quot;isVisible&quot;:true,&quot;label&quot;:&quot;Feel free to edit the text&quot;,&quot;metadata&quot;:{&quot;name&quot;:&quot;textEditor&quot;}}\">is loading &#8230;<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Next, we will use the <strong>Download<\/strong> block to download the content as a file.<\/p>\n\n\n\n<div class=\"wp-block-inseri-core-download\" data-attributes=\"{&quot;blockId&quot;:&quot;6LsMQ34Eo4FQ2zjO2vFam&quot;,&quot;fileName&quot;:&quot;from_text_editor&quot;,&quot;inputKey&quot;:&quot;1EyC7Q7EqJQN4o6Uw4oZd\/content&quot;,&quot;label&quot;:&quot;Download&quot;,&quot;metadata&quot;:{&quot;name&quot;:&quot;download-DGd&quot;}}\">is loading &#8230;<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">For more details please see the corresponding <a href=\"https:\/\/inseri-swiss.github.io\/inseri-core-wp\/blocks\/download\/\" target=\"_blank\" rel=\"noreferrer noopener\">documentation<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Download block allows us to download the content produced by other inseri blocks. For example, let&#8217;s write some text in a Text Editor block. Next, we will use the Download block to download the content as a file. For more details please see the corresponding documentation.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[38,52],"class_list":["post-608","post","type-post","status-publish","format-standard","hentry","category-inseri-core-block","tag-download","tag-text-editor"],"_links":{"self":[{"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/posts\/608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/comments?post=608"}],"version-history":[{"count":1,"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/posts\/608\/revisions"}],"predecessor-version":[{"id":2118,"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/posts\/608\/revisions\/2118"}],"wp:attachment":[{"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/media?parent=608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/categories?post=608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zi.uzh.ch\/whp\/science-it\/inseri\/wp-json\/wp\/v2\/tags?post=608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}