#63 Editor支持Enter事件

Merged
AdamFu merged 2 commits from Evo:feature/enter into master 5 years ago
Evo commented 5 years ago

功能说明:

  • Editor的props中增加了allowEnter&onPressEnter, 二者同时有效时才会触发Enter事件;
  • Enter事件开启,仍可以用shift + enter触发换行;
  • 移动端已经支持,可以手机访问Comment测试站,键盘Enter会弹出Alert测试框。
#### 功能说明: - Editor的props中增加了`allowEnter`&`onPressEnter`, 二者同时有效时才会触发Enter事件; - Enter事件开启,仍可以用`shift` + `enter`触发换行; - 移动端已经支持,可以手机访问Comment测试站,键盘Enter会弹出Alert测试框。
AdamFu was assigned by Evo 5 years ago
Evo changed title from Editor支持Enter to Editor支持Enter事件 5 years ago
The pull request has been merged.
Sign in to join this conversation.
No Label
No Milestone
Nobody assigned
1 Participants
Due Date

No due date set.

Loading…
Cancel
Save
There is no content yet.