Skip to content

Commit

Permalink
Merge branch 'master' into u/jisong/keyboardenter
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuqingSong authored Jun 6, 2024
2 parents 2ec3650 + 091e319 commit b51def0
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ export const formatContentModel: FormatContentModel = (
domToModelOptions
) => {
const {
apiName,
onNodeCreated,
getChangeData,
changeSource,
rawEvent,
selectionOverride,
scrollCaretIntoView: scroll,
Expand Down Expand Up @@ -79,9 +77,9 @@ export const formatContentModel: FormatContentModel = (
eventType: 'contentChanged',
contentModel: clearModelCache ? undefined : model,
selection: clearModelCache ? undefined : selection,
source: changeSource || ChangeSource.Format,
source: options?.changeSource || ChangeSource.Format,
data: getChangeData?.(),
formatApiName: apiName,
formatApiName: options?.apiName,
changedEntities: getChangedEntities(context, rawEvent),
};

Expand Down

0 comments on commit b51def0

Please sign in to comment.