Don't close the hover tooltip when the pointer moves over empty space caused by line breaks within the hovered range.
Fix a bug where on Chrome Android, if a virtual keyboard was slow to apply a change, the editor could end up dropping it.
Work around an issue where line-wise copy/cut didn't work in Firefox because the browser wasn't firing those events when nothing was selected.
Fix a crash triggered by the way some Android IME systems update the DOM.
Fix a bug that caused replacing a word by an emoji on Chrome Android to be treated as a backspace press.
6.17.0 (2023-08-28)
Bug fixes
Fix a bug that broke hover tooltips when hovering over a widget.
New features
The new EditorView.cspNonce facet can be used to provide a Content Security Policy nonce for the library's generated CSS.
The new EditorView.bidiIsolatedRanges can be used to inform the editor about ranges styled as Unicode bidirection isolates, so that it can compute the character order correctly.
EditorView.dispatch now also accepts an array of transactions to be applied together in a single view update.
The new dispatchTransactions option to new EditorView now replaces the old (deprecated but still supported) dispatch option in a way that allows multiple transactions to be applied in one update.
Input handlers are now passed an additional argument that they can use to retrieve the default transaction that would be applied for the insertion.
6.16.0 (2023-07-31)
Bug fixes
Fix an issue that made the gutter not stick in place when the editor was in a right-to-left context.
New features
The new EditorView.coordsForChar method returns the client rectangle for a given character in the editor.
6.15.3 (2023-07-18)
Bug fixes
Fix another crash regression for compositions before line breaks.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @codemirror/view from 6.0.0 to 6.17.1.
Changelog
Sourced from
@codemirror/view
's changelog.... (truncated)
Commits
1d121c0
Mark version 6.17.1099b3bc
Fix a bug that broke Emoji replacement on Chrome Android232214f
Fix finding of composed range when the entire text node is recreated5c15f2d
Work around a Firefox bug by adding copy/cut handlers to the documentaf371c8
Work around a race condition between the android key hack and the measure cyclec303a2c
Only close hover tooltip when the mouse moves out of the target range749c8d3
Mark version 6.17.00c8ccde
Add an argument to input handlers that allows them to access the base transac...baf021e
Allow multiple transactions to be dispatched at the same timee89ca52
Fix hover tooltips over widgetsYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show