matjaztrontelj / PinegrowCommunity

Issues, examples, components...
64 stars 18 forks source link

Not modernizr friendly? #56

Open jcamachott opened 10 years ago

jcamachott commented 10 years ago

I have modernizr on one of my pages. Because it seems pinegrow runs some JS even for the html editor, it changes my html tag to:

Is there any way around this? Also why, in the editor, does it start with the tag? Any reason the DOCTYPE and html tag are not displayed there?
matjaztrontelj commented 10 years ago

Browsers don't allow dynamically changing the whole HTML source, so Pinegrow has to look for place where changes happened (head or body) and then update just that part of the source. It is not possible to change document's html tag or DOCTYPE at runtime.

Pinegrow 1.2 will work with source files directly and should solve most of these issues. Hope you can wait a bit :)