Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 9.13.0 #2856

Merged
merged 9 commits into from
Nov 1, 2024
Prev Previous commit
Next Next commit
Add change data and apiName to ContentChangedEvent when handle keyboa…
…rd input (#2854)
JiuqingSong authored Nov 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit fad8ec664399ab129348530b7e70ebaf7c7303b9
Original file line number Diff line number Diff line change
@@ -58,6 +58,8 @@ export function keyboardEnter(
rawEvent,
scrollCaretIntoView: true,
changeSource: ChangeSource.Keyboard,
getChangeData: () => rawEvent.which,
apiName: 'handleEnterKey',
}
);
}
Original file line number Diff line number Diff line change
@@ -38,6 +38,8 @@ export function keyboardInput(editor: IEditor, rawEvent: KeyboardEvent) {
scrollCaretIntoView: true,
rawEvent,
changeSource: ChangeSource.Keyboard,
getChangeData: () => rawEvent.which,
apiName: 'handleInputKey',
}
);

Original file line number Diff line number Diff line change
@@ -30,6 +30,9 @@ export function keyboardTab(editor: IEditor, rawEvent: KeyboardEvent) {
},
{
apiName: 'handleTabKey',
rawEvent,
changeSource: ChangeSource.Keyboard,
getChangeData: () => rawEvent.which,
}
);

@@ -41,7 +44,9 @@ export function keyboardTab(editor: IEditor, rawEvent: KeyboardEvent) {
},
{
apiName: 'handleTabKey',
rawEvent,
changeSource: ChangeSource.Keyboard,
getChangeData: () => rawEvent.which,
}
);
return true;
Original file line number Diff line number Diff line change
@@ -1817,7 +1817,7 @@ describe('handleEnterOnList - keyboardEnter', () => {
let editor: any;

editingTestCommon(
undefined,
'handleEnterKey',
newEditor => {
editor = newEditor;