{"action":"closed","issue":{"url":"https://api.github.com/repos/substance/substance/issues/23","labels_url":"https://api.github.com/repos/substance/substance/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/substance/substance/issues/23/comments","events_url":"https://api.github.com/repos/substance/substance/issues/23/events","html_url":"https://github.com/substance/substance/issues/23","id":104427438,"number":23,"title":"Critical: Pressing cmd + b or cmd + i breaks the editing","user":{"login":"michael","id":2931,"avatar_url":"https://avatars.githubusercontent.com/u/2931?v=3","gravatar_id":"","url":"https://api.github.com/users/michael","html_url":"https://github.com/michael","followers_url":"https://api.github.com/users/michael/followers","following_url":"https://api.github.com/users/michael/following{/other_user}","gists_url":"https://api.github.com/users/michael/gists{/gist_id}","starred_url":"https://api.github.com/users/michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael/subscriptions","organizations_url":"https://api.github.com/users/michael/orgs","repos_url":"https://api.github.com/users/michael/repos","events_url":"https://api.github.com/users/michael/events{/privacy}","received_events_url":"https://api.github.com/users/michael/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/substance/substance/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"michael","id":2931,"avatar_url":"https://avatars.githubusercontent.com/u/2931?v=3","gravatar_id":"","url":"https://api.github.com/users/michael","html_url":"https://github.com/michael","followers_url":"https://api.github.com/users/michael/followers","following_url":"https://api.github.com/users/michael/following{/other_user}","gists_url":"https://api.github.com/users/michael/gists{/gist_id}","starred_url":"https://api.github.com/users/michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael/subscriptions","organizations_url":"https://api.github.com/users/michael/orgs","repos_url":"https://api.github.com/users/michael/repos","events_url":"https://api.github.com/users/michael/events{/privacy}","received_events_url":"https://api.github.com/users/michael/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/substance/substance/milestones/2","html_url":"https://github.com/substance/substance/milestones/Beta%202","labels_url":"https://api.github.com/repos/substance/substance/milestones/2/labels","id":1271177,"number":2,"title":"Beta 2","description":"","creator":{"login":"michael","id":2931,"avatar_url":"https://avatars.githubusercontent.com/u/2931?v=3","gravatar_id":"","url":"https://api.github.com/users/michael","html_url":"https://github.com/michael","followers_url":"https://api.github.com/users/michael/followers","following_url":"https://api.github.com/users/michael/following{/other_user}","gists_url":"https://api.github.com/users/michael/gists{/gist_id}","starred_url":"https://api.github.com/users/michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael/subscriptions","organizations_url":"https://api.github.com/users/michael/orgs","repos_url":"https://api.github.com/users/michael/repos","events_url":"https://api.github.com/users/michael/events{/privacy}","received_events_url":"https://api.github.com/users/michael/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":11,"state":"open","created_at":"2015-08-25T10:35:03Z","updated_at":"2015-09-15T21:31:19Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-09-02T08:34:57Z","updated_at":"2015-09-15T21:31:19Z","closed_at":"2015-09-15T21:31:19Z","body":"What happens is that contenteditable kicks in and adds b and i tags. However this breaks the editor. What we should probably do short-term is intercepting all those default keyboard events and delegate to our own actions. Actually i wonder if this should be connected with the tools somehow. Because we would need the same logic canTruncate canExpand etc.\r\n\r\nLong-term we should enable this DOM MutationObserver thing."}}