You could also have multiple Canvases using Rojohound's Canvas plugin,
That would work aswell
No, that is not what I asked.
I want to have multiple Construct2 projects in a page, not multiple canvas-plugins in a project.
When I say canvas I mean html5 element that is generated by exporting to "HTML website".
My problem is that in order to insert the Construct2 project in my page I need to put it in iframe with the index.html with the canvas (html5 element) project.
The problem of having iFrame is that it is hard to make JavaScript to JavaScript communication (page JS to JS inside the iframe), browsers blocking that for security reasons, the communication is super limited with workarounds.
The other way is to put the canvas directly in the dom of the page, but then we have problems to have more than one Construct2 project because there will be conflicts between c2runtime.js globals of multiple projects.