{"action":"created","issue":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/359","labels_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/359/comments","events_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/359/events","html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/359","id":109495032,"number":359,"title":"EZP-24894: Configure the embed element in the RichText editor","user":{"login":"dpobel","id":305563,"avatar_url":"https://avatars.githubusercontent.com/u/305563?v=3","gravatar_id":"","url":"https://api.github.com/users/dpobel","html_url":"https://github.com/dpobel","followers_url":"https://api.github.com/users/dpobel/followers","following_url":"https://api.github.com/users/dpobel/following{/other_user}","gists_url":"https://api.github.com/users/dpobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dpobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpobel/subscriptions","organizations_url":"https://api.github.com/users/dpobel/orgs","repos_url":"https://api.github.com/users/dpobel/repos","events_url":"https://api.github.com/users/dpobel/events{/privacy}","received_events_url":"https://api.github.com/users/dpobel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-02T13:52:25Z","updated_at":"2015-10-12T11:53:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/pulls/359","html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/359","diff_url":"https://github.com/ezsystems/PlatformUIBundle/pull/359.diff","patch_url":"https://github.com/ezsystems/PlatformUIBundle/pull/359.patch"},"body":"JIRA: https://jira.ez.no/browse/EZP-24894\r\n\r\n# Description\r\n\r\nThis patch adds a toolbar to configure the `embed` elements in the RichText fields. For now, it's only possible to choose a Content through the Universal Discovery Widget and to remove the embed element.\r\n\r\nRequires: https://github.com/liferay/alloy-editor/pull/352\r\n\r\nScreencast: http://youtu.be/OTXdMczbS0k\r\n\r\n## Tasks\r\n\r\n* [x] Forward the `contentDiscover` event from the editor to the YUI stack so that it can trigger the UDW\r\n* [x] Adapt the embed widget definition to the new format (see https://github.com/ezsystems/ezpublish-kernel/pull/1435)\r\n* [x] Trigger the universal discovery widget when adding an embed\r\n* [x] Add the styles toolbar configuration to handle embed\r\n* [x] Make a PR on AlloyEditor to allow styling non editable content (https://github.com/liferay/alloy-editor/pull/352 to be completed together with the corresponding code here)\r\n* [x] Add a button to change the embed content\r\n* [x] Adapt the `eZRemoveBlock` command to handle the embed widget\r\n* [x] Correctly handle the focus on widget like embed\r\n\r\n# Tests\r\n\r\nunit tests + manual tests"},"comment":{"url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/comments/147374630","html_url":"https://github.com/ezsystems/PlatformUIBundle/pull/359#issuecomment-147374630","issue_url":"https://api.github.com/repos/ezsystems/PlatformUIBundle/issues/359","id":147374630,"user":{"login":"dpobel","id":305563,"avatar_url":"https://avatars.githubusercontent.com/u/305563?v=3","gravatar_id":"","url":"https://api.github.com/users/dpobel","html_url":"https://github.com/dpobel","followers_url":"https://api.github.com/users/dpobel/followers","following_url":"https://api.github.com/users/dpobel/following{/other_user}","gists_url":"https://api.github.com/users/dpobel/gists{/gist_id}","starred_url":"https://api.github.com/users/dpobel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpobel/subscriptions","organizations_url":"https://api.github.com/users/dpobel/orgs","repos_url":"https://api.github.com/users/dpobel/repos","events_url":"https://api.github.com/users/dpobel/events{/privacy}","received_events_url":"https://api.github.com/users/dpobel/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T11:53:27Z","updated_at":"2015-10-12T11:53:27Z","body":"ping @yannickroger @mhyndle @andrerom "}}