diff --git a/components/typography/index.en-US.md b/components/typography/index.en-US.md index 6ee58afe32..3880b8357a 100644 --- a/components/typography/index.en-US.md +++ b/components/typography/index.en-US.md @@ -105,6 +105,8 @@ Basic text writing, including headings, body text, lists, and more. | onChange | Called when input at textarea | function(event) | - | | | onEnd | Called when type ENTER to exit editable state | function | - | 4.14.0 | | onStart | Called when enter editable state | function | - | | +| onCancel | Called when type ESC to exit editable state | function | - | | +| onEnd | Called when type ENTER to exit editable state | function | - | | ### ellipsis diff --git a/components/typography/index.zh-CN.md b/components/typography/index.zh-CN.md index 76db0eaf80..5ccc3b0809 100644 --- a/components/typography/index.zh-CN.md +++ b/components/typography/index.zh-CN.md @@ -105,6 +105,8 @@ cover: https://gw.alipayobjects.com/zos/alicdn/GOM1KQ24O/Typography.svg | onChange | 文本域编辑时触发 | function(event) | - | | | onEnd | 按 ENTER 结束编辑状态时触发 | function | - | 4.14.0 | | onStart | 进入编辑中状态时触发 | function | - | | +| onCancel | 按 ESC 退出编辑状态时触发 | function | - | | +| onEnd | 按 ENTER 结束编辑状态时触发 | function | - | | ### ellipsis diff --git a/package.json b/package.json index 695dfb4c2d..61c83ac827 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "rc-dialog": "~8.5.1", "rc-drawer": "~4.3.0", "rc-dropdown": "~3.2.0", - "rc-field-form": "~1.19.0", + "rc-field-form": "~1.20.0", "rc-image": "~5.2.3", "rc-input-number": "~7.0.1", "rc-mentions": "~1.5.0",