HTML Block
Last: thread:112
Image Module
Edited: 12 Nov 2009 12:22 by: pieterh
Comments: 0
Tags:
nav_last.png
Next: thread:111
Wikidot feeds
Edited: 16 May 2011 10:08 by: Gabrys
Comments: 0
Tags:
nav_next.png

Steven HeynderickxSteven Heynderickx wrote on 10 Nov 2009 15:53

Originally suggested by pieterhpieterh on 13 October 2009.

This is a design sketch for embedding HTML into Wikidot pages. The idea is based on the design of an Iframe module by James KanjoJames Kanjo.

We propose a syntax extension:

[[html ...arguments...]]
<h1>
    My example header
</h1>
<p>
    My awesome paragraph.
</p>
[[/html]]

This creates an HTML page on a separate server, creates an iframe to embed that HTML page into the current page, and adds JavaScript that automatically resizes the iframe to match the HTML size.

This is a secure sandboxing of the HTML: it cannot access the encapsulating page nor can it use the session's security information.


Start a new sub-thread

HTML - WikiDot? By Thomas Crage 0 Comments 07 Mar 2024 02:40
HTML Block argument By GoVegan 2 Comments 02 Mar 2010 17:46
Please keep also iframe By Steven Heynderickx 1 Comments 19 Nov 2009 14:12
Has this been implemented yet? (closed) By Jacob Hielscher 2 Comments 04 Dec 2009 12:20

We discourage direct comments on this thread: to discuss it, please start a sub-thread.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License