@wordpress/rich-text
Advanced tools
Comparing version 6.3.3 to 6.3.4
@@ -245,2 +245,8 @@ /** | ||
value: record.current, | ||
// A function to get the most recent value so event handlers in | ||
// useRichText implementations have access to it. For example when | ||
// listening to input events, we internally update the state, but this | ||
// state is not yet available to the input event handler because React | ||
// may re-render asynchronously. | ||
getValue: () => record.current, | ||
onChange: handleChange, | ||
@@ -247,0 +253,0 @@ ref: mergedRefs |
@@ -266,2 +266,8 @@ "use strict"; | ||
value: record.current, | ||
// A function to get the most recent value so event handlers in | ||
// useRichText implementations have access to it. For example when | ||
// listening to input events, we internally update the state, but this | ||
// state is not yet available to the input event handler because React | ||
// may re-render asynchronously. | ||
getValue: () => record.current, | ||
onChange: handleChange, | ||
@@ -268,0 +274,0 @@ ref: mergedRefs |
{ | ||
"name": "@wordpress/rich-text", | ||
"version": "6.3.3", | ||
"version": "6.3.4", | ||
"description": "Rich text value and manipulation API.", | ||
@@ -50,3 +50,3 @@ "author": "The WordPress Contributors", | ||
}, | ||
"gitHead": "1e2b2f680c6378f789d6660bc04b30e35e3a33a3" | ||
"gitHead": "6cf78aefb52e1ca38b58aa38a44a312b744f3310" | ||
} |
@@ -251,2 +251,8 @@ /** | ||
value: record.current, | ||
// A function to get the most recent value so event handlers in | ||
// useRichText implementations have access to it. For example when | ||
// listening to input events, we internally update the state, but this | ||
// state is not yet available to the input event handler because React | ||
// may re-render asynchronously. | ||
getValue: () => record.current, | ||
onChange: handleChange, | ||
@@ -253,0 +259,0 @@ ref: mergedRefs, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1300456
18334