api-notebook icon indicating copy to clipboard operation
api-notebook copied to clipboard

Embed script refactor

Open blakeembrey opened this issue 11 years ago • 3 comments

The embed script is keeping a lot of unneeded references in the config object.

blakeembrey avatar Oct 25 '13 05:10 blakeembrey

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.

blakeembrey avatar Oct 30 '13 21:10 blakeembrey

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.

blakeembrey avatar Oct 30 '13 21:10 blakeembrey

Yet another note is the ability to do "camo". Things like setting link colors, etc. by detecting the parent element options.

blakeembrey avatar Oct 30 '13 21:10 blakeembrey