Styleguide
Styleguide copied to clipboard
Javascript code
Hi,
I would want to execute some javascript into code snippet or having an "inline javascript" like "inline css".
How can I achieve that ? (in the sample below, Vue is undefined)
Thanks
Thanks for replying.
The javascript in the code doesn't seem to be embed in the HTML output.
No more anwsers ? :(
@lbineau - if I am right, this is related with issue: http://stackoverflow.com/questions/18369410/how-to-add-javascript-code-into-existing-iframe-using-jquery We need to implement this feature, for now, you can only use javascript global template. There is no simple way, to use inline javascript in snippet code. @miezis - can you confirm?
I manage locally to have a inlineJs like inlineCss field. The code is running well but when I print the document inside the iframe, the document is the one from the global page.
Why it is not the one of the iframe, that's the point of iframes right ?