InfoEditor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
"type": "object", | "type": "object", | ||
"title": "Info Test Case", | "title": "Info Test Case", | ||
"properties": { | "properties": { | ||
"info": { | "info": { | ||
"format": "info", | "x-format": "info", | ||
"description": "This testcase shows the use of the <strong>info editor<\/strong>. The <strong>info editor<\/strong> is a special editor that leaves no footprint in the form results.<br><br>This editor can be used to insert textual blocks in the form. If the <a href='https:\/\/github.com\/cure53\/DOMPurify' target='_blank'>DOMPurify library<\/a> is loaded you can also use HTML tags.<ul><li>The <strong>title<\/strong> property is used for the header<\/li><li>The <strong>description<\/strong> property is used for the bodytext.<\/li><\/ul><hr>" | "description": "This testcase shows the use of the <strong>info editor<\/strong>. The <strong>info editor<\/strong> is a special editor that leaves no footprint in the form results.<br><br>This editor can be used to insert textual blocks in the form. If the <a href='https:\/\/github.com\/cure53\/DOMPurify' target='_blank'>DOMPurify library<\/a> is loaded you can also use HTML tags.<ul><li>The <strong>title<\/strong> property is used for the header<\/li><li>The <strong>description<\/strong> property is used for the bodytext.<\/li><\/ul><hr>" | ||
}, | }, | ||
"test1": { | "test1": { | ||
" | "x-format": "info", | ||
"title": "This is the header from the 'title' property", | "title": "This is the header from the 'title' property", | ||
"description": "This is the bodytext from the 'description' property." | "description": "This is the bodytext from the 'description' property." | ||
}, | }, | ||
"test2": { | "test2": { | ||
" | "x-format": "info", | ||
"title": "This is the header from the <strong>title<\/strong> property (With HTML Tags)", | "title": "This is the header from the <strong>title<\/strong> property (With HTML Tags)", | ||
"description": "This is the bodytext from the <strong>description<\/strong> property. (With HTML Tags)" | "description": "This is the bodytext from the <strong>description<\/strong> property. (With HTML Tags)" | ||
}, | }, | ||
"test3": { | "test3": { | ||
" | "x-format": "info", | ||
"title": "This is the header (bodytext used for inserting image)", | "title": "This is the header (bodytext used for inserting image)", | ||
"description": "<img src='https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/fc\/2017_Cameron_Balloon_designed_by_Seattle_Ballooning_.jpg' height='150' \/><<br \/>air baloon" | "description": "<img src='https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/fc\/2017_Cameron_Balloon_designed_by_Seattle_Ballooning_.jpg' height='150' \/><<br \/>air baloon" | ||
Latest revision as of 00:00, 15 January 2001
| type | "object" | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| title | "Info Test Case" | ||||||||||||||||||||||||||||||
| properties |
|