I'm not sure that `focusAtEnd` transform works correctly. It would need to be tested. Here's an alternative implementation that could work too ``` js function focusAtEnd(transform) { const lastNode = transform.state.document.nodes.last(); return transform.collapseToEndOf(lastNode); } ```