{"action":"closed","issue":{"url":"https://api.github.com/repos/artf/grapesjs/issues/973","repository_url":"https://api.github.com/repos/artf/grapesjs","labels_url":"https://api.github.com/repos/artf/grapesjs/issues/973/labels{/name}","comments_url":"https://api.github.com/repos/artf/grapesjs/issues/973/comments","events_url":"https://api.github.com/repos/artf/grapesjs/issues/973/events","html_url":"https://github.com/artf/grapesjs/issues/973","id":307340781,"number":973,"title":"[Question]: Doctype in the canvas iframe","user":{"login":"ryandeba","id":1010108,"avatar_url":"https://avatars1.githubusercontent.com/u/1010108?v=4","gravatar_id":"","url":"https://api.github.com/users/ryandeba","html_url":"https://github.com/ryandeba","followers_url":"https://api.github.com/users/ryandeba/followers","following_url":"https://api.github.com/users/ryandeba/following{/other_user}","gists_url":"https://api.github.com/users/ryandeba/gists{/gist_id}","starred_url":"https://api.github.com/users/ryandeba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryandeba/subscriptions","organizations_url":"https://api.github.com/users/ryandeba/orgs","repos_url":"https://api.github.com/users/ryandeba/repos","events_url":"https://api.github.com/users/ryandeba/events{/privacy}","received_events_url":"https://api.github.com/users/ryandeba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-21T17:16:46Z","updated_at":"2018-03-22T21:41:03Z","closed_at":"2018-03-22T21:41:03Z","author_association":"CONTRIBUTOR","body":"Hey @artf, I noticed the canvas iframe doesn't appear to have any doctype set on it, which causes it to be in quirks mode. Is this intentional? I'd like to set it to `<!DOCTYPE html>`, but doing so causes some positioning issues that you can see in this [screenshot](https://i.imgur.com/Ga3mLKx.png) and [demo](https://jsfiddle.net/xu7fdxnj/1/). \r\n\r\nWould you be open to a pull request that would allow the doctype to get set? I feel like exposing this in a config option (either a `doctype` string or perhaps a `quirksMode` boolean) would be the safest thing to do, but would like to get your thoughts before I continue exploring this."}}
{"actor":{"display_login":"ryandeba"}}