waterbearlang / waterbear

Visual block syntax for programming languages
http://waterbearlang.com/
357 stars 88 forks source link

Future: Embed waterbear into any page #1242

Open dethe opened 8 years ago

dethe commented 8 years ago

This is different than the iframe-based embedding because the goal would be to integrate Waterbear into an existing page so it could interact with elements of the page. This assumes we have blocks which can interact with HTML, among other things.

The idea would be to have a single <script> (and maybe a Bookmarklet to embed it) which would add an unobtrusive menu that gives access to Waterbear blocks which can be dragged into the page (somehow! defining the script area remains to be thought out).

Was reminded today of Active Essays (https://t.co/oCyOZoQn3L) and this issue is just a place to think out loud about how we might integrate Waterbear blocks into that concept.

CelticMinstrel commented 8 years ago

...your sentence is unfinished...

dethe commented 8 years ago

The script tag wasn't escaped and was cutting off the rest of the text. Thanks for catching that!