This extension contains functions for embedding unsafe HTML. Related Links: Extension Overview, DekiScript Overview, Extension Demos.
Assembly: mindtouch.deki.services
SID: http://services.mindtouch.com/deki/draft/2007/06/html.unsafe
This service requires Deki Wiki 1.8.2 or later.
To enable this extension, follow these steps:
Functions:
Embed custom HTML code.
Parameters:
| Name | Type | Description |
| innerhtml | str | An inner html fragment. |
Samples:
| Output | |
| To embed a button that displays a dialog when clicked: /div/table[2]/tbody/tr[2]/td/span/pre, reference to undefined name 'unsafe' |
Embed iframe element.
Parameters:
| Name | Type | Description |
| uri | uri | Source URI. |
| width | num | Optional. Width (default: 425) |
| height | num | Optional. Height (default: 350) |
| border | bool | Optional. Border (default: false) |
| marginwidth | num | Optional. Marginwidth (default: 0) |
| marignheight | num | Optional. Marginheight (default: 0) |
| scrolling | bool | Optional. Scrolling (default: false) |
Samples:
| Output | ||
|
Only unsafe.iframe seems to support properties such as scroll bars edited 23:57, 13 Mar 2008