{"action":"created","issue":{"url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/167","labels_url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/167/comments","events_url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/167/events","html_url":"https://github.com/qTranslate-Team/qtranslate-x/issues/167","id":81945044,"number":167,"title":"Paragraph, nbsp and br inserted at beginning of WYSIWYG fields after update","user":{"login":"alancwoo","id":1481890,"avatar_url":"https://avatars.githubusercontent.com/u/1481890?v=3","gravatar_id":"","url":"https://api.github.com/users/alancwoo","html_url":"https://github.com/alancwoo","followers_url":"https://api.github.com/users/alancwoo/followers","following_url":"https://api.github.com/users/alancwoo/following{/other_user}","gists_url":"https://api.github.com/users/alancwoo/gists{/gist_id}","starred_url":"https://api.github.com/users/alancwoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alancwoo/subscriptions","organizations_url":"https://api.github.com/users/alancwoo/orgs","repos_url":"https://api.github.com/users/alancwoo/repos","events_url":"https://api.github.com/users/alancwoo/events{/privacy}","received_events_url":"https://api.github.com/users/alancwoo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-28T14:11:37Z","updated_at":"2015-06-02T17:28:16Z","closed_at":"2015-06-02T17:28:16Z","body":"I'm having a somewhat mind boggling problem with my WYSIWYG editor, in combination with qtranslateX.\r\n\r\nI'm not sure where the issue lies as:\r\n\r\nACF WYSIWYG field is fine with qtranslate-x disabled\r\nNormal 'Content Editor' WYSIWYG field is fine with q-translate-x enabled\r\n\r\nWith qtranslate-x enabled, any ACF WYSIWYG fields are always adding a:\r\n\r\n````\r\n<p>\r\n&nbsp;\r\n<br/>\r\n</p>\r\n````\r\n\r\nAt the top of a post if the first element is a block element such as a header (h1, h2 etc...)\r\n\r\nScreencast: http://d.pr/v/1eugP/5VFFUkQ3\r\n\r\nIn a freeze frame you can also quickly see the language codes such as `[:en]` being wrapped in `<p>` tags.\r\n\r\n![screencap](https://cloud.githubusercontent.com/assets/1481890/7862376/bb4d5ef2-0555-11e5-8e6b-7bdb0690f6d9.png)\r\n\r\n\r\nI don't know where to begin, I've tried so many combinations of the three plugins (ACF Pro, ACF qTranslate, qtranslate-x), every combination yields some broken functionality, and so far the current combination I've found is the only one that even works in the basic respect of saving and updating data.\r\n\r\n--\r\n\r\nqTranslate-x 3.3\r\nACF 5.2.3 (translation broken unless using this version)\r\nacf-qtranslate 1.7.6 (translation broken unless using this version)\r\nWordpress 4.2.2\r\n\r\n--\r\n\r\nLinks to respective issues:\r\n\r\nACF: http://support.advancedcustomfields.com/forums/topic/paragraph-inserted-at-top-of-wysiwyg-fields-if-first-element-is-block/edit/\r\nacf qtranslate: https://github.com/funkjedi/acf-qtranslate/issues/40"},"comment":{"url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/comments/108023791","html_url":"https://github.com/qTranslate-Team/qtranslate-x/issues/167#issuecomment-108023791","issue_url":"https://api.github.com/repos/qTranslate-Team/qtranslate-x/issues/167","id":108023791,"user":{"login":"alancwoo","id":1481890,"avatar_url":"https://avatars.githubusercontent.com/u/1481890?v=3","gravatar_id":"","url":"https://api.github.com/users/alancwoo","html_url":"https://github.com/alancwoo","followers_url":"https://api.github.com/users/alancwoo/followers","following_url":"https://api.github.com/users/alancwoo/following{/other_user}","gists_url":"https://api.github.com/users/alancwoo/gists{/gist_id}","starred_url":"https://api.github.com/users/alancwoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alancwoo/subscriptions","organizations_url":"https://api.github.com/users/alancwoo/orgs","repos_url":"https://api.github.com/users/alancwoo/repos","events_url":"https://api.github.com/users/alancwoo/events{/privacy}","received_events_url":"https://api.github.com/users/alancwoo/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T17:28:16Z","updated_at":"2015-06-02T17:28:16Z","body":"Ok, I started a completely fresh new install of Wordpress to test with and installed only:\r\n\r\n1. qtranslate-x 3.3\r\n2. ACF Pro 5.2.6\r\n3. ACF qtranslate 1.3.9\r\n\r\n---\r\n\r\nThe issue was still happening unless I configure exactly:\r\n\r\n1. WYSIWYG fields are `qTranslate WYSIWYG` fields\r\n2. Language tabs are on in `acf qtranslate` settings (otherwise repeater overwrites the other language on update)\r\n\r\nSomehow this seems to be working now, I will notify the acf qtranslate maintainer."}}