@codemirror/view
Advanced tools
Comparing version 0.18.10 to 0.18.11
@@ -0,1 +1,9 @@ | ||
## 0.18.11 (2021-04-30) | ||
### Bug fixes | ||
Add an attribute to prevent the Grammarly browser extension from messing with the editor content. | ||
Fix more issues around selection handling a Shadow DOM in Safari. | ||
## 0.18.10 (2021-04-27) | ||
@@ -2,0 +10,0 @@ |
@@ -72,2 +72,8 @@ import * as _codemirror_rangeset from '@codemirror/rangeset'; | ||
between the surrounding text. | ||
Note that block-level decorations should not have vertical | ||
margins, and if you dynamically change their height, you should | ||
make sure to call | ||
[`requestMeasure`](https://codemirror.net/6/docs/ref/#view.EditorView.requestMeasure), so that the | ||
editor can update its information about its vertical layout. | ||
*/ | ||
@@ -716,7 +722,8 @@ block?: boolean; | ||
/** | ||
Make sure plugins get a chance to measure the DOM layout before | ||
the next frame. Calling this is preferable reading DOM layout | ||
directly from, for example, an event handler, because it'll make | ||
sure measuring and drawing done by other components is | ||
synchronized, avoiding unnecessary DOM layout computations. | ||
Schedule a layout measurement, optionally providing callbacks to | ||
do custom DOM measuring followed by a DOM write phase. Using | ||
this is preferable reading DOM layout directly from, for | ||
example, an event handler, because it'll make sure measuring and | ||
drawing done by other components is synchronized, avoiding | ||
unnecessary DOM layout computations. | ||
*/ | ||
@@ -723,0 +730,0 @@ requestMeasure<T>(request?: MeasureRequest<T>): void; |
{ | ||
"name": "@codemirror/view", | ||
"version": "0.18.10", | ||
"version": "0.18.11", | ||
"description": "DOM view component for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
594255
14631