You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The in-line examples on the component pages sorta work, but it's mostly an artefact of the static assets/loom.css lining up with the current Bikeshed setup.
I think the only real way of making this work long-term is to have sandbox for each example. And that sandbox would need to have everything provided; examples would need to start providing the <html> onwards.
I'd probably do this via a convenience template calling bikeshed/modules/general/template, eg.
Examples would still be distinct from Mocks in that the former would be in-line and the latter would still be on a new page: it's just that the construction of Examples will more closely match Mocks than they have previously.
The only problem that I can see: iframes need to have a fixed size (they don't autoexpand). Suggests welcome on this front. 😰
The text was updated successfully, but these errors were encountered:
The in-line examples on the component pages sorta work, but it's mostly an artefact of the static assets/loom.css lining up with the current Bikeshed setup.
I think the only real way of making this work long-term is to have sandbox for each example. And that sandbox would need to have everything provided; examples would need to start providing the
<html>
onwards.I'd probably do this via a convenience template calling
bikeshed/modules/general/template
, eg.Examples would still be distinct from Mocks in that the former would be in-line and the latter would still be on a new page: it's just that the construction of Examples will more closely match Mocks than they have previously.
The only problem that I can see: iframes need to have a fixed size (they don't autoexpand). Suggests welcome on this front. 😰
The text was updated successfully, but these errors were encountered: