{"action":"created","issue":{"url":"https://api.github.com/repos/quilljs/quill/issues/308","labels_url":"https://api.github.com/repos/quilljs/quill/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/quilljs/quill/issues/308/comments","events_url":"https://api.github.com/repos/quilljs/quill/issues/308/events","html_url":"https://github.com/quilljs/quill/issues/308","id":62127693,"number":308,"title":"Preserving custom delta attributes","user":{"login":"chinshr","id":29537,"avatar_url":"https://avatars.githubusercontent.com/u/29537?v=3","gravatar_id":"","url":"https://api.github.com/users/chinshr","html_url":"https://github.com/chinshr","followers_url":"https://api.github.com/users/chinshr/followers","following_url":"https://api.github.com/users/chinshr/following{/other_user}","gists_url":"https://api.github.com/users/chinshr/gists{/gist_id}","starred_url":"https://api.github.com/users/chinshr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinshr/subscriptions","organizations_url":"https://api.github.com/users/chinshr/orgs","repos_url":"https://api.github.com/users/chinshr/repos","events_url":"https://api.github.com/users/chinshr/events{/privacy}","received_events_url":"https://api.github.com/users/chinshr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/quilljs/quill/milestones/2","html_url":"https://github.com/quilljs/quill/milestones/Customizable%20Formats","labels_url":"https://api.github.com/repos/quilljs/quill/milestones/2/labels","id":880649,"number":2,"title":"Customizable Formats","description":"The goal is to redesign formats to better support customization. Some tasks include:\r\n\r\n- Interaction with the normalizer to add or remove tags, attributes, etc to preserve or remove\r\n- Ability to safely overwrite default format behavior\r\n  - Ex. Use `<strong>` tags for bolding instead of `<b>`, using classes for styling instead of style attributes\r\n- Add custom behavior in addition to default behavior for default formats\r\n  - Ex. Adding header support that dynamically set an id based on header's text contents\r\n\r\nProgress can be tracked on the [format](https://github.com/quilljs/quill/tree/format) branch.","creator":{"login":"jhchen","id":192974,"avatar_url":"https://avatars.githubusercontent.com/u/192974?v=3","gravatar_id":"","url":"https://api.github.com/users/jhchen","html_url":"https://github.com/jhchen","followers_url":"https://api.github.com/users/jhchen/followers","following_url":"https://api.github.com/users/jhchen/following{/other_user}","gists_url":"https://api.github.com/users/jhchen/gists{/gist_id}","starred_url":"https://api.github.com/users/jhchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhchen/subscriptions","organizations_url":"https://api.github.com/users/jhchen/orgs","repos_url":"https://api.github.com/users/jhchen/repos","events_url":"https://api.github.com/users/jhchen/events{/privacy}","received_events_url":"https://api.github.com/users/jhchen/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2014-11-26T00:25:01Z","updated_at":"2015-04-25T22:42:52Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-03-16T16:06:18Z","updated_at":"2015-08-27T11:23:02Z","closed_at":null,"body":"This is more of a question than an issue! How do I go about supporting my own custom delta format in without it being overwritten. I would like to add time offsets for each of the text chunks that I am inserting. The text chunks may be formatted (visually) but don't necessarily have to, but at least they should be respected when saving, reloading, etc. Example here:\r\n\r\n\r\n``` JavaScript\r\n{\r\n  ops:[\r\n    { insert: 'Gandalf', attributes: {offset: 0, duration: 0.5} },\r\n    { insert: ' the '', attributes: {offset: 0.5, duration: 0.2}  },\r\n    { insert: 'Grey', attributes: {offset: 0.7, duration: 0.3}  }\r\n  ]\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/quilljs/quill/issues/comments/135393013","html_url":"https://github.com/quilljs/quill/issues/308#issuecomment-135393013","issue_url":"https://api.github.com/repos/quilljs/quill/issues/308","id":135393013,"user":{"login":"Sopamo","id":1202596,"avatar_url":"https://avatars.githubusercontent.com/u/1202596?v=3","gravatar_id":"","url":"https://api.github.com/users/Sopamo","html_url":"https://github.com/Sopamo","followers_url":"https://api.github.com/users/Sopamo/followers","following_url":"https://api.github.com/users/Sopamo/following{/other_user}","gists_url":"https://api.github.com/users/Sopamo/gists{/gist_id}","starred_url":"https://api.github.com/users/Sopamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sopamo/subscriptions","organizations_url":"https://api.github.com/users/Sopamo/orgs","repos_url":"https://api.github.com/users/Sopamo/repos","events_url":"https://api.github.com/users/Sopamo/events{/privacy}","received_events_url":"https://api.github.com/users/Sopamo/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T11:23:02Z","updated_at":"2015-08-27T11:23:02Z","body":"Any plans / estimate on this? I would be glad to help out on that feature branch if you wish."}}