HTML5 Doctype for Simple Edit Interface


(Jeremy Hewitt) #1

Howdy :slight_smile:


How hard would it be to change the doctype in the simple edit interface to HTML5? We use simple edit (not easy edit) with frames hidden and Internet Explorer 9 defaults to 'Quirks mode' because it's not HTML5. Frustrating because we're using HTML5 for the website.



Does anyone know where the html core for simple edit is? I have my own install of Matrix I can test this on before taking it to a production level.



Cheers :slight_smile:


(Scott Hall) #2

[quote]
Explorer 9 defaults to 'Quirks mode' because it's not HTML5.

[/quote]



You won't get a browser switching to quirks mode purely due to the doctype specification, I suspect there is more to it than that… potentially something the browser is struggling to render against best practice, maybe broken tag(s)?



I'll let the dev's comment about outputting HTML5 doctype in simple edit. We switched EES to HTML5 doctype from last major release.



Cheers



Scotty


(Jeremy Hewitt) #3

[quote]
…potentially something the browser is struggling to render against best practice, maybe broken tag(s)?

[/quote]



Thanks Scotty, if I could get into the bones of the interface (ie. where it stores the frames HTML etc) I could go in and give it a nice tidy up and prep it for HTML5. The guys where I work will be stuck with the current code as I can't access the server there (it's managed by Squiz), but I could get it running nicely on my own server which would be really nice :slight_smile:


(Jeremy Hewitt) #4

Fixed :smiley: now just gotta get my local Squiz office to implement the fix on our server.


(Scott Hall) #5

[quote]
Fixed :smiley: now just gotta get my local Squiz office to implement the fix on our server.

[/quote]



Let us know what you did to change it, sounds like a valid cleanup fix, which should be logged as a bug. That way it can go into a warrantable version of the system. Bug tracker is at http://bugs.matrix.squiz.net/



Cheers



Scott