{"action":"created","issue":{"url":"https://api.github.com/repos/storypioneers/kirby-wysiwyg/issues/30","repository_url":"https://api.github.com/repos/storypioneers/kirby-wysiwyg","labels_url":"https://api.github.com/repos/storypioneers/kirby-wysiwyg/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/storypioneers/kirby-wysiwyg/issues/30/comments","events_url":"https://api.github.com/repos/storypioneers/kirby-wysiwyg/issues/30/events","html_url":"https://github.com/storypioneers/kirby-wysiwyg/issues/30","id":137741598,"number":30,"title":"Pasting problems with <div> tags","user":{"login":"SQbiz","id":11514928,"avatar_url":"https://avatars.githubusercontent.com/u/11514928?v=3","gravatar_id":"","url":"https://api.github.com/users/SQbiz","html_url":"https://github.com/SQbiz","followers_url":"https://api.github.com/users/SQbiz/followers","following_url":"https://api.github.com/users/SQbiz/following{/other_user}","gists_url":"https://api.github.com/users/SQbiz/gists{/gist_id}","starred_url":"https://api.github.com/users/SQbiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SQbiz/subscriptions","organizations_url":"https://api.github.com/users/SQbiz/orgs","repos_url":"https://api.github.com/users/SQbiz/repos","events_url":"https://api.github.com/users/SQbiz/events{/privacy}","received_events_url":"https://api.github.com/users/SQbiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-02T01:15:21Z","updated_at":"2016-03-02T09:05:03Z","closed_at":null,"body":"It seems that whenever clipboard content that includes <div> tags (and other HTML elements) is pasted into the text area, it's not pasted in as plain text. After a save, HTML has not been stripped out, and a bunch of other formatting errors (such as markdown characters being /escaped) come up.\r\n\r\nI see this in **wysiwyg.js**:\r\n\r\n```\r\n            paste: {\r\n                cleanPastedHTML: true,\r\n                forcePlainText: true,\r\n            },\r\n```\r\n\r\nBut neither seem to be happening.\r\n"},"comment":{"url":"https://api.github.com/repos/storypioneers/kirby-wysiwyg/issues/comments/191142662","html_url":"https://github.com/storypioneers/kirby-wysiwyg/issues/30#issuecomment-191142662","issue_url":"https://api.github.com/repos/storypioneers/kirby-wysiwyg/issues/30","id":191142662,"user":{"login":"JonasDoebertin","id":1367270,"avatar_url":"https://avatars.githubusercontent.com/u/1367270?v=3","gravatar_id":"","url":"https://api.github.com/users/JonasDoebertin","html_url":"https://github.com/JonasDoebertin","followers_url":"https://api.github.com/users/JonasDoebertin/followers","following_url":"https://api.github.com/users/JonasDoebertin/following{/other_user}","gists_url":"https://api.github.com/users/JonasDoebertin/gists{/gist_id}","starred_url":"https://api.github.com/users/JonasDoebertin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonasDoebertin/subscriptions","organizations_url":"https://api.github.com/users/JonasDoebertin/orgs","repos_url":"https://api.github.com/users/JonasDoebertin/repos","events_url":"https://api.github.com/users/JonasDoebertin/events{/privacy}","received_events_url":"https://api.github.com/users/JonasDoebertin/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T09:05:03Z","updated_at":"2016-03-02T09:05:03Z","body":"This seems to be an issue with the underlying MediumEditor component (we're using version 5.9 here).\r\n\r\nThis could probably be fixed by upgrading to a newer version of MediumEditor. Unfortunately, we're too busy to do it right now.\r\n\r\nI will keep this issue open though, and I'll come back to it at a later date."}}