Efficient Live-Text Editing with Quill on Meteor
Summary of my bookmarked Github repositories from Oct 20th, 2015
Github repositories
- jonlachlan/quill-meteor-example
This example showcases live-text editing using Quill on Meteor. The purpose is to allow users to save their changes instead of live-editing, preventing overwriting of concurrent edits. The provided template effectively applies changes received while preserving unsaved edits. The live-editing feature can be toggled with a button. An important insight is found in client/quill.js line 65, where the editor.updateContents() function utilizes ottypes to transform positions of server edits based on local changes. This ensures that one set of edits doesn't overwrite another.