Visits /read/:article_id
fbq.track('ViewContent', {| [ | |
| { | |
| "id": "id", | |
| "owner": "id", | |
| "name": "string", | |
| "title": "string", | |
| "authors": "string[]", | |
| "assets": "id[]", | |
| "createdAt": "date", | |
| "updatedAt": "date", |
| <element-citation publication-type="book"> | |
| <person-group person-group-type="author"> | |
| <name> | |
| <surname>John</surname> | |
| <given-names>Smith</given-names> | |
| </name> | |
| </person-group> | |
| <person-group person-group-type="editor"> | |
| <name> | |
| <surname>Jane</surname> |
| const { Component } = window.substance | |
| window.onload = function() { | |
| SpreadsheetComponent.mount(document.querySelector('.spreadsheet-widget')) | |
| } | |
| class SpreadsheetComponent extends Component { | |
| getInitialState() { |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Spreadsheet Component Styles</title> | |
| <meta charset="UTF-8"> | |
| <style> | |
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Spreadsheet Component Styles</title> | |
| <meta charset="UTF-8"> | |
| <style> | |
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, |
| table.fixed {table-layout:fixed; width:90px;}/*Setting the table width is important!*/ | |
| table.fixed td { overflow:visible; }/*Hide text outside the cell.*/ | |
| <table class="fixed"> | |
| <tr> | |
| <td style="width: 20px;"><div class="cell-content">Veryverylongtext</div></td> | |
| <td style="width: 30px;"><div class="cell-content">Actuallythistextismuchlongeeeeeer</div></td> | |
| <td style="width: 40px;"><div class="cell-content">We should use spaces tooooooooooooo</div></td> | |
| </tr> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Spreadsheet Layout with Flexbox</title> | |
| <meta charset="UTF-8"> | |
| <style> | |
| body { | |
| overflow: hidden; | |
| } |