{"action":"created","issue":{"url":"https://api.github.com/repos/mautic/mautic/issues/1959","repository_url":"https://api.github.com/repos/mautic/mautic","labels_url":"https://api.github.com/repos/mautic/mautic/issues/1959/labels{/name}","comments_url":"https://api.github.com/repos/mautic/mautic/issues/1959/comments","events_url":"https://api.github.com/repos/mautic/mautic/issues/1959/events","html_url":"https://github.com/mautic/mautic/issues/1959","id":164014425,"number":1959,"title":"Froala Editor Replaces and Strips out HTML","user":{"login":"nickian","id":590678,"avatar_url":"https://avatars.githubusercontent.com/u/590678?v=3","gravatar_id":"","url":"https://api.github.com/users/nickian","html_url":"https://github.com/nickian","followers_url":"https://api.github.com/users/nickian/followers","following_url":"https://api.github.com/users/nickian/following{/other_user}","gists_url":"https://api.github.com/users/nickian/gists{/gist_id}","starred_url":"https://api.github.com/users/nickian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickian/subscriptions","organizations_url":"https://api.github.com/users/nickian/orgs","repos_url":"https://api.github.com/users/nickian/repos","events_url":"https://api.github.com/users/nickian/events{/privacy}","received_events_url":"https://api.github.com/users/nickian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mautic/mautic/labels/Ready%20To%20Test","name":"Ready To Test","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":43,"created_at":"2016-07-06T07:23:15Z","updated_at":"2016-07-25T20:10:33Z","closed_at":null,"body":"The new Froala editor in Mautic 2.0 seems very problematic. You can't simply paste in custom HTML without the editor radically modifying your code. I typically use Foundation for Emails (http://foundation.zurb.com/emails.html) and the Froala Editor completely destroys these templates because it \"beautifies\" the code and doesn't accept certain tags.\r\n\r\nIs there a way to set this editor to simply accept the raw input I give it? I don't want it to strip or change anything I paste into the code view. After a glance at their documentation, I don't see an option for this.\r\n\r\nThe new email templates are nice, but this is going to be a deal breaker for people who are serious about highly customized HTML email designs that are compatible with as many email clients as possible."},"comment":{"url":"https://api.github.com/repos/mautic/mautic/issues/comments/235069508","html_url":"https://github.com/mautic/mautic/issues/1959#issuecomment-235069508","issue_url":"https://api.github.com/repos/mautic/mautic/issues/1959","id":235069508,"user":{"login":"chandon","id":4522557,"avatar_url":"https://avatars.githubusercontent.com/u/4522557?v=3","gravatar_id":"","url":"https://api.github.com/users/chandon","html_url":"https://github.com/chandon","followers_url":"https://api.github.com/users/chandon/followers","following_url":"https://api.github.com/users/chandon/following{/other_user}","gists_url":"https://api.github.com/users/chandon/gists{/gist_id}","starred_url":"https://api.github.com/users/chandon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chandon/subscriptions","organizations_url":"https://api.github.com/users/chandon/orgs","repos_url":"https://api.github.com/users/chandon/repos","events_url":"https://api.github.com/users/chandon/events{/privacy}","received_events_url":"https://api.github.com/users/chandon/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T20:10:33Z","updated_at":"2016-07-25T20:10:33Z","body":"@escopecz it should, but it's not working... if you want options.htmlAllowedTags override Mautic.basicFroalaOptions, you have to use \r\n\r\n    mQuery.extend(Mautic.basicFroalaOptions, options)\r\n\r\nand not \r\n\r\n    mQuery.extend(options, Mautic.basicFroalaOptions)\r\n\r\nPlease see https://api.jquery.com/jquery.extend/\r\n"}}
{"actor":{"display_login":"chandon"}}