CURRENT:
{
"flashVersion": "WIN 11,2,000",
"text": "Blah blah blah"
}
FUTURE:
{
"type": "aftercopy",
"target": currentElement,
"success": {
"text/plain": true,
"text/html": true,
"application/rtf": true
},
"data": {
"text/plain": "Blah blah blah",
"text/html": "<b>Blah blah blah</b>",
"application/rtf": "{\\\\rtf1\\\\ansi{\\\\pard\\n{\\\\b Blah blah blah}\\\\par}"
}
}
QUESTIONS:
- Should
success
only be set totrue
if ALL sub-status
values aretrue
, or if ANY aretrue
? - Are
"text/plain"
,"text/html"
,"application/rtf"
, etc. too verbose? I was aiming for something very standardized since we will also be opening this up to custom data types.
I don't think
success
makes sense keeping if all the sub-status values also denote success.