Content Blocks

The Editor V2 creates liveblog entries as an array of content block. Each block has a _type field indicating what kind of content block it is.

Tik::Model::Content::RichTextContentBlock

{
  "_type": "Tik::Model::Content::MultiMediaContentBlock",
  "local_id": "",
  
  // HTML Formated rich text
  "text": ""
}

We only allow a specific subset of HTML Tags, all other tags will be stripped out!

  <a href="" target="_blank" rel="nofollow"><!-- target and rel will be added automatically! --></a>
  <blockquote>...</blockquote>
  <b>...</b>
  <strong>...</strong>
  <i>...</i>
  <em>...</em>
  <u>...</u>
  <strike>...</strike>
  <s>...</s>
  <del>...</del>
  <h1>...</h1>
  <h2>...</h2>
  <h3>...</h3>
  <h4>...</h4>
  <h5>...</h5>
  <ul>...</ul>
  <ol>...</ol>
  <li>...</li>
  <div>...</div>
  <span>...</span>
  <p>...</p>
  <br>

Tik::Model::Content::MultiMediaContentBlock

Tik::Model::Content::WebEmbedContentBlock