api-notebook
api-notebook copied to clipboard
Embed script refactor
The embed script is keeping a lot of unneeded references in the config object.
Needs to also provide a simpler abstraction for cross iframe middleware. Be aware that we can't hook onto everything (since some middleware is inherently faulty and assumes synchronousity). We also can't pass complex objects (read: functions) between frames.
Also note that we need to incorporate styles injection to the frame in a simplistic manner. Maybe this is via a stylesheet option or maybe even plain text that then gets added to a style
block.
Yet another note is the ability to do "camo". Things like setting link colors, etc. by detecting the parent element options.