{"action":"created","issue":{"url":"https://api.github.com/repos/oncletom/wp-less/issues/94","labels_url":"https://api.github.com/repos/oncletom/wp-less/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/oncletom/wp-less/issues/94/comments","events_url":"https://api.github.com/repos/oncletom/wp-less/issues/94/events","html_url":"https://github.com/oncletom/wp-less/issues/94","id":109519022,"number":94,"title":"WP LESS breaks tinyMCE","user":{"login":"WIWIWWII","id":2741577,"avatar_url":"https://avatars.githubusercontent.com/u/2741577?v=3","gravatar_id":"","url":"https://api.github.com/users/WIWIWWII","html_url":"https://github.com/WIWIWWII","followers_url":"https://api.github.com/users/WIWIWWII/followers","following_url":"https://api.github.com/users/WIWIWWII/following{/other_user}","gists_url":"https://api.github.com/users/WIWIWWII/gists{/gist_id}","starred_url":"https://api.github.com/users/WIWIWWII/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WIWIWWII/subscriptions","organizations_url":"https://api.github.com/users/WIWIWWII/orgs","repos_url":"https://api.github.com/users/WIWIWWII/repos","events_url":"https://api.github.com/users/WIWIWWII/events{/privacy}","received_events_url":"https://api.github.com/users/WIWIWWII/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T15:50:24Z","updated_at":"2015-10-02T19:00:32Z","closed_at":null,"body":"I don't know why or how. But using the latest version 1.8 of LESS with Wordpress 4.3.1 breaks all the tinyMCE editors in Wordpress. TinyMCE is unable to add styling. \r\n\r\nWorking locally using MAMP, im getting the following errors in Chrome: \r\n\r\n`http://localhost/XX/wp-includes/css/dashicons.min.css?wp-mce-4205-20150910 Failed to load resource: net::ERR_CONNECTION_REFUSED`\r\n\r\n`http://localhost/XX/wp-includes/js/tinymce/skins/wordpress/wp-content.css?wp-mce-4205-20150910 Failed to load resource: net::ERR_CONNECTION_REFUSED`\r\n\r\nin Firefox:\r\n`Use of Mutation Events is deprecated. Use MutationObserver instead.`\r\n\r\nIt is not theme related (switching theme's will have same effect, even when theme is not supporting LESS). When deactivating WP LESS, the editor works again.\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/oncletom/wp-less/issues/comments/145126588","html_url":"https://github.com/oncletom/wp-less/issues/94#issuecomment-145126588","issue_url":"https://api.github.com/repos/oncletom/wp-less/issues/94","id":145126588,"user":{"login":"fabrizim","id":79165,"avatar_url":"https://avatars.githubusercontent.com/u/79165?v=3","gravatar_id":"","url":"https://api.github.com/users/fabrizim","html_url":"https://github.com/fabrizim","followers_url":"https://api.github.com/users/fabrizim/followers","following_url":"https://api.github.com/users/fabrizim/following{/other_user}","gists_url":"https://api.github.com/users/fabrizim/gists{/gist_id}","starred_url":"https://api.github.com/users/fabrizim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabrizim/subscriptions","organizations_url":"https://api.github.com/users/fabrizim/orgs","repos_url":"https://api.github.com/users/fabrizim/repos","events_url":"https://api.github.com/users/fabrizim/events{/privacy}","received_events_url":"https://api.github.com/users/fabrizim/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T19:00:32Z","updated_at":"2015-10-02T19:00:32Z","body":"The only hook that less has into the editor is the mce_css filter (https://github.com/oncletom/wp-less/blob/master/lib/Plugin.class.php#L287). Are you adding a '.less' stylesheet to the editor? If so, if there are errors in the less file, the html output might be ending at the editor.\r\n\r\nThe Firefox error is not relevant. The other errors indicate that core Wordpress files are not accessible. Can you see the css files if you paste those urls into your browser?"}}