Michael Aufreiter

Results 113 issues of Michael Aufreiter

Needs some fiddling with app states.

See: https://github.com/substance/archivist-composer/issues/78 Pls checkout master of archivist-composer to verify. There's `data/problematic_doc_isolated.js` as a breaking example. What would be a good strategy to solve this? We could make the fragmenter robust...

ATM, we use something like ``` doc.getEventProxy('path').add([node.id, 'title'], this, this.onChange) ``` It would be nicer to be able just to do: ``` node.connect(this, { 'title:changed', this.onTitleChanged }); ``` or for...

Check: https://gist.github.com/michael/651c6f0833544406fd57 I think we can go with this. What would be good to have is a class list-start and list-end to determine bounds of lists explicitly. That makes the...

It would be nice to have keyboard shurtcuts that we can assign on the tool level. E.g. `cmd+b` for strong. That could be particularly nice for the HtmlEditor if you...

feature

Currently we have Tool (which is always bound to a surface). Those were interacting with the selection and on app level we called tool.update() on each tool every time a...

Currently we use `container`. Should be `containerId`.

This needs some polish and should go into core when ready. https://github.com/substance/starter/blob/master/src/transformations/search_replace.js

feature

Currently: ``` js node.instanceOf('container_annotation'); ``` It would be convenient to also have the following option: ``` js var ContainerAnnotation = Document.ContainerAnnotation; node.instanceOf(ContainerAnnotation); ```

I'll explain this on the example of search+replace, which I implemented in the Substance Starter repo: Transformation: https://github.com/substance/starter/blob/master/src/transformations/search_replace.js Tool (really good idea to have that extra thing, since we have...

documentation