Hans Yu

Results 14 issues of Hans Yu

First off, thanks for this awesome project! I really like that Weaver comes with S3 integration. Unfortunately, I'm not using AWS for this new project. Is there any way to...

This PR aims to further simplify component implementation by reducing the responsibility of custom components to only defining the model attributes and producing render specifications from model state. The handling...

Since we are not wrapping the document in a contenteditable element, we cannot use the browser's undo / redo feature. It is probably also in our better interest to implement...

Styling text with attributes results in more fragmentation of text nodes. For example, a piece of text that has one word in the middle bolded currently requires 3 text nodes...

During replace change, to clean up fragmentation of nodes, we should merge adjacent text nodes that are identical in type and attributes.

Currently, the editor always renders the cursor, but when focus is not on the editor, the cursor is rendered in an inactive state. When the editor regains focus, the cursor...

Since we handle the document model, layout and selection ourselves with Taleweaver, instead of delegating to the browser, we cannot let the browser handle pasting. To enable pasting, we need...

During initialization, things like event listeners are created. When the editor is being removed, we need an opportunity to be notified and to clean up all the side effects to...

For convenience, word processors may automatically transform the document after certain user-made changes. One example is automatically wrapping URLs with links. We should develop the infrastructure to support this type...