Charset
Charset in Database, Tagtree and Screenplaytext is always UTF8.
Screenplay Format
The screenplay is a html string, containing only the inside of the <body> part.
Blocks
In the first hierarchy level there are only <p> that represent a block. The class defines what block it is.
For example <p class="scene">ext. Forest</p>
Possible classes are:
- scene
- transition
- shot
- action
- parenthetical
- character
- dialogue
- note
Tags
Tagging a word or multiple words will surround the selected text with a <span> element.
For example: <span class="categoryoGEvZSxRXHQK">cidade</span>
Comment anchors
Creating a Commentthread will insert a commenticon at the right position inside the text.
For example: <a name="1" />
Tagtree Format
comments are not allowed in json strings, but we will add them with // here
{ //root node, not visible
"expanded": true,
"key": "root_1",
"title": "root",
"children": [
{ //first visible node. Has the same name like the screenplay. cannot be edited. You cannot create siblings.
"expanded": true,
"folder": true,
"key": "_1",
"selected": false,
"title": "System Error (1.1)",
"children": [
{ //An example category named "set". Has color "#f83a22" and categorykey "1"
"expanded": true,
"folder": true,
"key": "1",
"selected": false,
"title": "set",
"tooltip": "click the edit button to edit the categories",
"data": {
"color": "#f83a22"
},
"children": [
{
"folder": false, //An example tag named "cidade". Has color "#f83a22" and tagkey "oGEvZSxRXHQK"
"key": "oGEvZSxRXHQK",
"selected": false,
"title": "cidade",
"data": {
"color": "#f83a22"
}
}
]
},
{
"expanded": true,
"folder": true,
"key": "2",
"selected": false,
"title": "vehicles",
"tooltip": "click the edit button to edit the categories",
"data": {
"color": "#fa573c"
},
"children": [
{
"folder": false,
"key": "feLhi3H7Q3jt",
"selected": false,
"title": "carros",
"data": {
"color": "#fa573c"
}
},
{
"folder": false,
"key": "CWy5MYGx1ur3",
"selected": false,
"title": "Zeppelin",
"data": {
"color": "#fa573c"
}
}
]
}
]
}
]
}