{"action":"created","issue":{"url":"https://api.github.com/repos/daviferreira/medium-editor/issues/554","labels_url":"https://api.github.com/repos/daviferreira/medium-editor/issues/554/labels{/name}","comments_url":"https://api.github.com/repos/daviferreira/medium-editor/issues/554/comments","events_url":"https://api.github.com/repos/daviferreira/medium-editor/issues/554/events","html_url":"https://github.com/daviferreira/medium-editor/pull/554","id":67970423,"number":554,"title":"fix BC break warn for cleanPastedHTML option","user":{"login":"adrianorsouza","id":5430240,"avatar_url":"https://avatars.githubusercontent.com/u/5430240?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianorsouza","html_url":"https://github.com/adrianorsouza","followers_url":"https://api.github.com/users/adrianorsouza/followers","following_url":"https://api.github.com/users/adrianorsouza/following{/other_user}","gists_url":"https://api.github.com/users/adrianorsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianorsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianorsouza/subscriptions","organizations_url":"https://api.github.com/users/adrianorsouza/orgs","repos_url":"https://api.github.com/users/adrianorsouza/repos","events_url":"https://api.github.com/users/adrianorsouza/events{/privacy}","received_events_url":"https://api.github.com/users/adrianorsouza/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-12T23:01:08Z","updated_at":"2015-04-14T23:42:32Z","closed_at":"2015-04-14T02:14:34Z","pull_request":{"url":"https://api.github.com/repos/daviferreira/medium-editor/pulls/554","html_url":"https://github.com/daviferreira/medium-editor/pull/554","diff_url":"https://github.com/daviferreira/medium-editor/pull/554.diff","patch_url":"https://github.com/daviferreira/medium-editor/pull/554.patch"},"body":"I noticed after migrating from v3.0.9 to v4.x the option name `cleanPastedHTML` has been deprecated and should be used `paste.cleanPastedHtml` instead. it turns out that this deprecated option is not displaying warning in the console and also when passing the newly option `paste.cleanPastedHtml` the content does not get cleaned as expected.\r\n\r\nThis PR addresses to:\r\n- fix missing deprecated warning for passing the option `cleanPastedHTML` used in v3.0.9 and earlier.\r\n\r\n- fix `cleanPastedHtml` option. As of v4.0.0 this option is defined in camelCase format when this options is passed along with `paste` option it does not clean up the pasted html."},"comment":{"url":"https://api.github.com/repos/daviferreira/medium-editor/issues/comments/93115185","html_url":"https://github.com/daviferreira/medium-editor/pull/554#issuecomment-93115185","issue_url":"https://api.github.com/repos/daviferreira/medium-editor/issues/554","id":93115185,"user":{"login":"nchase","id":197309,"avatar_url":"https://avatars.githubusercontent.com/u/197309?v=3","gravatar_id":"","url":"https://api.github.com/users/nchase","html_url":"https://github.com/nchase","followers_url":"https://api.github.com/users/nchase/followers","following_url":"https://api.github.com/users/nchase/following{/other_user}","gists_url":"https://api.github.com/users/nchase/gists{/gist_id}","starred_url":"https://api.github.com/users/nchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nchase/subscriptions","organizations_url":"https://api.github.com/users/nchase/orgs","repos_url":"https://api.github.com/users/nchase/repos","events_url":"https://api.github.com/users/nchase/events{/privacy}","received_events_url":"https://api.github.com/users/nchase/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T23:42:32Z","updated_at":"2015-04-14T23:42:32Z","body":"> Ok, thanks a ton for clarifying, and thanks a ton for finding and fixing this :+1:\r\n\r\nSeconded. Excellent find @adrianorsouza!"}}