{"action":"created","issue":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/778","repository_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons","labels_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/778/labels{/name}","comments_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/778/comments","events_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/778/events","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/778","id":171762863,"number":778,"title":"New Feature: Accordion RTE Plugin","user":{"login":"stevenwoodson","id":1857439,"avatar_url":"https://avatars1.githubusercontent.com/u/1857439?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenwoodson","html_url":"https://github.com/stevenwoodson","followers_url":"https://api.github.com/users/stevenwoodson/followers","following_url":"https://api.github.com/users/stevenwoodson/following{/other_user}","gists_url":"https://api.github.com/users/stevenwoodson/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenwoodson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenwoodson/subscriptions","organizations_url":"https://api.github.com/users/stevenwoodson/orgs","repos_url":"https://api.github.com/users/stevenwoodson/repos","events_url":"https://api.github.com/users/stevenwoodson/events{/privacy}","received_events_url":"https://api.github.com/users/stevenwoodson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"schoudry","id":6585493,"avatar_url":"https://avatars3.githubusercontent.com/u/6585493?v=4","gravatar_id":"","url":"https://api.github.com/users/schoudry","html_url":"https://github.com/schoudry","followers_url":"https://api.github.com/users/schoudry/followers","following_url":"https://api.github.com/users/schoudry/following{/other_user}","gists_url":"https://api.github.com/users/schoudry/gists{/gist_id}","starred_url":"https://api.github.com/users/schoudry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoudry/subscriptions","organizations_url":"https://api.github.com/users/schoudry/orgs","repos_url":"https://api.github.com/users/schoudry/repos","events_url":"https://api.github.com/users/schoudry/events{/privacy}","received_events_url":"https://api.github.com/users/schoudry/received_events","type":"User","site_admin":false},"assignees":[{"login":"schoudry","id":6585493,"avatar_url":"https://avatars3.githubusercontent.com/u/6585493?v=4","gravatar_id":"","url":"https://api.github.com/users/schoudry","html_url":"https://github.com/schoudry","followers_url":"https://api.github.com/users/schoudry/followers","following_url":"https://api.github.com/users/schoudry/following{/other_user}","gists_url":"https://api.github.com/users/schoudry/gists{/gist_id}","starred_url":"https://api.github.com/users/schoudry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schoudry/subscriptions","organizations_url":"https://api.github.com/users/schoudry/orgs","repos_url":"https://api.github.com/users/schoudry/repos","events_url":"https://api.github.com/users/schoudry/events{/privacy}","received_events_url":"https://api.github.com/users/schoudry/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2016-08-17T21:18:26Z","updated_at":"2017-08-11T18:06:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/pulls/778","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/778","diff_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/778.diff","patch_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/778.patch"},"body":"This is a feature that HS2 Solutions had developed allowing content authors to add an accordion to any blocks of content editable within the Rich Text Editor.\r\n\r\n**Use**\r\nWhen activated, this plugin adds a CoralUI feed icon to the full-screen editor. Clicking that icon will add the first accordion header and content area after the highest parent of the current context, this was chosen because difficulties could arise from adding within other block level elements like paragraphs or tables.\r\n![1-new-accordion](https://cloud.githubusercontent.com/assets/1857439/17753373/2d5ece64-6495-11e6-8279-857ebca0a9d8.png)\r\n\r\nWhile context is inside an existing accordion, the feed icon changes to feedAdd to signify that additional accordion items can be added. When clicked, a new item (with its own header and content) will be appended to the end of the accordion.\r\n![2-new-item](https://cloud.githubusercontent.com/assets/1857439/17753388/4343eac0-6495-11e6-96b5-569f7def644f.png)\r\n\r\nAll items header and content areas are visible while in the full-screen editor for easier content editing, otherwise the default is for all items to start \"closed\" with only headers displayed. Clicking anywhere on a header will reveal its content in a slide down animation, any other items in the same accordion that are open are simultaneously closed.\r\n\r\n**Styling**\r\nMinimal generic styling has been included to provide the basic functionality. To negate the need for any additional dependencies, the plus sign icon beside each header (signifying that it's clickable) is the \\002b unicode character. When an item is opened this plus icon is rotated 45° via CSS to become an 'X' signifying that the item can be closed.\r\n\r\n**Preview**\r\n![screen shot 2016-12-15 at 12 48 14 pm](https://cloud.githubusercontent.com/assets/1857439/21237476/d405f548-c2c4-11e6-98cd-332007b7652a.png)\r\n\r\n**Installation**\r\nI've built and tested this plugin inside the stock Geometrixx Outdoors site in AEM 6.1. To enable this plugin, via CRXDE:\r\n- Add a new node under `/libs/foundation/components/text/dialog/items/tab1/items/text/rtePlugins` to enable the accordion addition. Name it **acs-commons** and set two properties:\r\n  - jcr:primaryType=\"nt:unstructured\"\r\n  - features=\"rte-accordion\"\r\n- Add **acs-commons.rte-accordion** to the embed property of the site, for example in the desktop version of Geometrixx Outdoors it's located at `/etc/designs/geometrixx-outdoors/clientlibs_desktop_v1/`.\r\n"},"comment":{"url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/comments/321881343","html_url":"https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/778#issuecomment-321881343","issue_url":"https://api.github.com/repos/Adobe-Consulting-Services/acs-aem-commons/issues/778","id":321881343,"user":{"login":"stevenwoodson","id":1857439,"avatar_url":"https://avatars1.githubusercontent.com/u/1857439?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenwoodson","html_url":"https://github.com/stevenwoodson","followers_url":"https://api.github.com/users/stevenwoodson/followers","following_url":"https://api.github.com/users/stevenwoodson/following{/other_user}","gists_url":"https://api.github.com/users/stevenwoodson/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenwoodson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenwoodson/subscriptions","organizations_url":"https://api.github.com/users/stevenwoodson/orgs","repos_url":"https://api.github.com/users/stevenwoodson/repos","events_url":"https://api.github.com/users/stevenwoodson/events{/privacy}","received_events_url":"https://api.github.com/users/stevenwoodson/received_events","type":"User","site_admin":false},"created_at":"2017-08-11T18:06:41Z","updated_at":"2017-08-11T18:06:41Z","body":"Thank you for the response @davidjgonzalez! I've renamed the category to `acs-commons.rte-accordion.rte.coralui2` and can confirm on a fresh install that this plugin is not included by default until the installation steps are followed."}}
{"actor":{"display_login":"stevenwoodson"}}