{"action":"published","release":{"url":"https://api.github.com/repos/Kademi/keditor/releases/2535786","assets_url":"https://api.github.com/repos/Kademi/keditor/releases/2535786/assets","upload_url":"https://uploads.github.com/repos/Kademi/keditor/releases/2535786/assets{?name,label}","html_url":"https://github.com/Kademi/keditor/releases/tag/1.1.0","id":2535786,"tag_name":"1.1.0","target_commitish":"master","name":"KEditor version 1.1.0","draft":false,"author":{"login":"ducdhm","id":1289631,"avatar_url":"https://avatars.githubusercontent.com/u/1289631?v=3","gravatar_id":"","url":"https://api.github.com/users/ducdhm","html_url":"https://github.com/ducdhm","followers_url":"https://api.github.com/users/ducdhm/followers","following_url":"https://api.github.com/users/ducdhm/following{/other_user}","gists_url":"https://api.github.com/users/ducdhm/gists{/gist_id}","starred_url":"https://api.github.com/users/ducdhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ducdhm/subscriptions","organizations_url":"https://api.github.com/users/ducdhm/orgs","repos_url":"https://api.github.com/users/ducdhm/repos","events_url":"https://api.github.com/users/ducdhm/events{/privacy}","received_events_url":"https://api.github.com/users/ducdhm/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2016-02-26T09:43:41Z","published_at":"2016-02-26T09:47:00Z","assets":[],"tarball_url":"https://api.github.com/repos/Kademi/keditor/tarball/1.1.0","zipball_url":"https://api.github.com/repos/Kademi/keditor/zipball/1.1.0","body":" * Support 2 types of snippet are container and component. Container snippet can be dropped only into content area and component snippet can be dropped only into container.\r\n * New callbacks for container\r\n```javascript\r\n/**\r\n * @option {Function} onInitContainer Callback will be called when initializing container. It can return array of jQuery objects which will be initialized as editable components in container content (NOTE: these objects MUST be under elements which have attribute data-type=\"container-content\"). By default, all first level sections under container content will be initialized. Arguments: container\r\n * @option {Function} onBeforeContainerDeleted Callback will be called before container is deleted. Arguments: event, selectedContainer\r\n * @option {Function} onContainerDeleted Callback will be called after container and its components are already deleted. Arguments: event, selectedContainer\r\n * @option {Function} onContainerChanged Callback will be called when content of container is changed. It can be when container received new component from snippet or from other container. Or content of any components are changed or any components are deleted or duplicated. Arguments: event, changedContainer\r\n * @option {Function} onContainerDuplicated Callback will be called when a container is duplicated. Arguments: event, originalContainer, newContainer\r\n * @option {Function} onContainerSelected Callback will be called when a container is selected. Arguments: event, selectedContainer\r\n * @option {Function} onContainerSnippetDropped Callback will be called when a container snippet is dropped into content area. Arguments: event, newContainer, droppedContainer\r\n```\r\n * New callbacks for component\r\n```javascript\r\n/**\r\n * @option {Function} onComponentReady Callback will be called after component is initialized. This callback is available or not is depend on component type handler.\r\n * @option {Function} onInitComponent Callback will be called when initializing component. Arguments: component\r\n * @option {Function} onBeforeComponentDeleted Callback will be called before a component is deleted. Arguments: event, selectedComponent\r\n * @option {Function} onComponentDeleted Callback will be called after a component is deleted. Arguments: event, selectedComponent\r\n * @option {Function} onComponentChanged Callback will be called when content of a component is changed. Arguments: event, changedComponent\r\n * @option {Function} onComponentDuplicated Callback will be called when a component is duplicated. Arguments: event, originalComponent, newComponent\r\n * @option {Function} onComponentSelected Callback will be called when a component is selected. Arguments: event, selectedComponent\r\n * @option {Function} onComponentSnippetDropped Callback will be called after a component snippet is dropped into a container. Arguments: event, newComponent, droppedComponent\r\n */\r\n```\r\n * `onInitContent` is changed to `onInitContentArea`\r\n * All callbacks of section are removed\r\n * Support multiple [component types](https://github.com/Kademi/keditor#customize-component-type)"}}