{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/monaco-editor/issues/172","repository_url":"https://api.github.com/repos/Microsoft/monaco-editor","labels_url":"https://api.github.com/repos/Microsoft/monaco-editor/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/monaco-editor/issues/172/comments","events_url":"https://api.github.com/repos/Microsoft/monaco-editor/issues/172/events","html_url":"https://github.com/Microsoft/monaco-editor/issues/172","id":175496448,"number":172,"title":"How to replace content dynamically","user":{"login":"dorzuznow","id":21305671,"avatar_url":"https://avatars.githubusercontent.com/u/21305671?v=3","gravatar_id":"","url":"https://api.github.com/users/dorzuznow","html_url":"https://github.com/dorzuznow","followers_url":"https://api.github.com/users/dorzuznow/followers","following_url":"https://api.github.com/users/dorzuznow/following{/other_user}","gists_url":"https://api.github.com/users/dorzuznow/gists{/gist_id}","starred_url":"https://api.github.com/users/dorzuznow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorzuznow/subscriptions","organizations_url":"https://api.github.com/users/dorzuznow/orgs","repos_url":"https://api.github.com/users/dorzuznow/repos","events_url":"https://api.github.com/users/dorzuznow/events{/privacy}","received_events_url":"https://api.github.com/users/dorzuznow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/monaco-editor/labels/question","name":"question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"alexandrudima","id":5047891,"avatar_url":"https://avatars.githubusercontent.com/u/5047891?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrudima","html_url":"https://github.com/alexandrudima","followers_url":"https://api.github.com/users/alexandrudima/followers","following_url":"https://api.github.com/users/alexandrudima/following{/other_user}","gists_url":"https://api.github.com/users/alexandrudima/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrudima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrudima/subscriptions","organizations_url":"https://api.github.com/users/alexandrudima/orgs","repos_url":"https://api.github.com/users/alexandrudima/repos","events_url":"https://api.github.com/users/alexandrudima/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrudima/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexandrudima","id":5047891,"avatar_url":"https://avatars.githubusercontent.com/u/5047891?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrudima","html_url":"https://github.com/alexandrudima","followers_url":"https://api.github.com/users/alexandrudima/followers","following_url":"https://api.github.com/users/alexandrudima/following{/other_user}","gists_url":"https://api.github.com/users/alexandrudima/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrudima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrudima/subscriptions","organizations_url":"https://api.github.com/users/alexandrudima/orgs","repos_url":"https://api.github.com/users/alexandrudima/repos","events_url":"https://api.github.com/users/alexandrudima/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrudima/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/monaco-editor/milestones/2","html_url":"https://github.com/Microsoft/monaco-editor/milestones/Backlog","labels_url":"https://api.github.com/repos/Microsoft/monaco-editor/milestones/2/labels","id":1944362,"number":2,"title":"Backlog","description":"","creator":{"login":"alexandrudima","id":5047891,"avatar_url":"https://avatars.githubusercontent.com/u/5047891?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrudima","html_url":"https://github.com/alexandrudima","followers_url":"https://api.github.com/users/alexandrudima/followers","following_url":"https://api.github.com/users/alexandrudima/following{/other_user}","gists_url":"https://api.github.com/users/alexandrudima/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrudima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrudima/subscriptions","organizations_url":"https://api.github.com/users/alexandrudima/orgs","repos_url":"https://api.github.com/users/alexandrudima/repos","events_url":"https://api.github.com/users/alexandrudima/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrudima/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":11,"state":"open","created_at":"2016-08-16T08:19:47Z","updated_at":"2016-09-11T11:46:42Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-09-07T13:01:05Z","updated_at":"2016-09-11T11:46:42Z","closed_at":"2016-09-11T11:46:42Z","body":"Hi,\r\nI'm trying to replace dynamically part of the monaco-editor content within a given range with other content.\r\nFor example, I would like to replace \"append\" with \"prepend\" dynamically, in a button click.\r\n```javascript\r\n$(\"#my_div\").append($(\"<div></div>\"));\r\n```\r\nIs there any way to do it?\r\n"}}
{"actor":{"display_login":"dorzuznow"}}