Tags: fonsp/view
Tags
Version 0.19.9 ### Bug fixes Fix an issue where some kinds of reflows in the surrounding document could move unrendered parts of the editor into view without the editor noticing and updating its viewport. Fix an occasional crash in the selection drawing extension.
Version 0.19.8 ### Bug fixes Fix a bug that could, on DOM changes near block widgets, insert superfluous line breaks. Make interacting with a destroyed editor view do nothing, rather than crash, to avoid tripping people up with pending timeouts and such. Make sure `ViewUpdate.viewportChanged` is true whenever `visibleRanges` changes, so that plugins acting only on visible ranges can use it to check when to update. Fix line-wise cut on empty lines.
Version 0.19.1 ### Breaking changes The view now emits new-style user event annotations for the transactions it generates. ### Bug fixes Fix a bug where `coordsAtPos` would allow the passed `side` argument to override widget sides, producing incorrect cursor positions. Fix a bug that could cause content lines to be misaligned in certain situations involving widgets at the end of lines. Fix an issue where, if the browser decided to modify DOM attributes in the content in response to some editing action, the view failed to reset those again.
PreviousNext