{"action":"closed","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/20679","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/20679/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/20679/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/20679/events","html_url":"https://github.com/joomla/joomla-cms/issues/20679","id":329999738,"node_id":"MDU6SXNzdWUzMjk5OTk3Mzg=","number":20679,"title":"[4.0] Codemirror: Fullscreen mode opens the wrong editor  and \"Failed to load resource\" if more than one editor exists","user":{"login":"astridx","id":9974686,"node_id":"MDQ6VXNlcjk5NzQ2ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9974686?v=4","gravatar_id":"","url":"https://api.github.com/users/astridx","html_url":"https://github.com/astridx","followers_url":"https://api.github.com/users/astridx/followers","following_url":"https://api.github.com/users/astridx/following{/other_user}","gists_url":"https://api.github.com/users/astridx/gists{/gist_id}","starred_url":"https://api.github.com/users/astridx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astridx/subscriptions","organizations_url":"https://api.github.com/users/astridx/orgs","repos_url":"https://api.github.com/users/astridx/repos","events_url":"https://api.github.com/users/astridx/events{/privacy}","received_events_url":"https://api.github.com/users/astridx/received_events","type":"User","site_admin":false},"labels":[{"id":878880830,"node_id":"MDU6TGFiZWw4Nzg4ODA4MzA=","url":"https://api.github.com/repos/joomla/joomla-cms/labels/J4%20Issue","name":"J4 Issue","color":"f4d524","default":false},{"id":138443932,"node_id":"MDU6TGFiZWwxMzg0NDM5MzI=","url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-06-06T19:23:09Z","updated_at":"2018-06-24T20:44:35Z","closed_at":"2018-06-24T20:44:35Z","author_association":"CONTRIBUTOR","body":"### Steps to reproduce the issue\r\n\r\n1. Set default editor to codemirror in global configuration.\r\n\r\n2. Open com_content and start creating an article. See, that there are no errors in web console.\r\n\r\n3. Open the file \r\n`administrator/components/com_content/forms/article.xml `\r\n and add the text \r\n\r\n```\r\n<field\r\nname=\"articletext2\"\r\ntype=\"editor\"\r\nlabel=\"COM_CONTENT_FIELD_ARTICLETEXT_LABEL\"\r\nfilter=\"JComponentHelper::filterText\"\r\nbuttons=\"true\"\r\n/>\r\n```\r\n\r\nafter the field  with the name _articletext_\r\n\r\n\r\n4. Open file \r\n\r\n`/administrator/components/com_content/tmpl/article/edit.php `\r\n\r\nand add the text\r\n\r\n`<?php echo $this->form->getInput('articletext2'); ?>`\r\n\r\nafter the text \r\n\r\n`<?php echo $this->form->getInput('articletext'); ?>\r\n`\r\n\r\n5. Again open com_content and start creating an article. See an error in web console: \r\n`/media/vendor/codemirror/mode/text/html/text/html.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)`\r\n\r\n\r\n6. Write the text _\"first editor\"_ into the **first editor** and the text _\"second editor\"_ into the **second editor**.\r\n\r\n\r\n7. Make sure, that the Cursur is in the **first editor** and click `F10` to open full screen editing. You now expect the first editor to open in full screen mode. But it opens the second editor.\r\n"}}
{"actor":{"display_login":"astridx"}}