{"action":"opened","issue":{"url":"https://api.github.com/repos/neokoenig/jQuery-gridmanager/issues/76","labels_url":"https://api.github.com/repos/neokoenig/jQuery-gridmanager/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/neokoenig/jQuery-gridmanager/issues/76/comments","events_url":"https://api.github.com/repos/neokoenig/jQuery-gridmanager/issues/76/events","html_url":"https://github.com/neokoenig/jQuery-gridmanager/issues/76","id":112760614,"number":76,"title":"How to properly pull content of editor without editor's markup?","user":{"login":"harinsa","id":3242581,"avatar_url":"https://avatars.githubusercontent.com/u/3242581?v=3","gravatar_id":"","url":"https://api.github.com/users/harinsa","html_url":"https://github.com/harinsa","followers_url":"https://api.github.com/users/harinsa/followers","following_url":"https://api.github.com/users/harinsa/following{/other_user}","gists_url":"https://api.github.com/users/harinsa/gists{/gist_id}","starred_url":"https://api.github.com/users/harinsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harinsa/subscriptions","organizations_url":"https://api.github.com/users/harinsa/orgs","repos_url":"https://api.github.com/users/harinsa/repos","events_url":"https://api.github.com/users/harinsa/events{/privacy}","received_events_url":"https://api.github.com/users/harinsa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-22T09:03:36Z","updated_at":"2015-10-22T09:03:36Z","closed_at":null,"body":"I would like to pull just the raw html output of the editor without the mark up of the editor. What is the proper way to do that? I tried:\r\n\r\n    gm.cleanup();\r\n    var output = $('#gm-canvas').html();\r\n\r\nbut the output still have some editor classes on it, it seems like the cleanup is not done cleaning up yet when the output pulls the html."}}