-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish 8.37.0 with 4 changes (#1430)
* Fix a list color issue in dark mode (#1428) (#1429) * Fix a list color issue in dark mode * fix test * Add test * Improve shadow edit behavior when there is entity in editor (#1408) * Move mergeFragmentWithEntity to roosterjs * Shadow edit with entity * 8.37.0 * Merge pull request #1425 from microsoft/u/juliaroldi/auto-format-list-special-char Valid numbering * Merge pull request #1426 from microsoft/u/juliaroldi/previous-line-bug Fix cursor jump bug. Co-authored-by: Julia Roldi <[email protected]>
- Loading branch information
1 parent
b9c5f37
commit 2c0add2
Showing
22 changed files
with
76 additions
and
661 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
79 changes: 0 additions & 79 deletions
79
packages/roosterjs-content-model/lib/publicApi/mergeFragmentWithEntity.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 6 additions & 13 deletions
19
packages/roosterjs-content-model/lib/publicTypes/context/ModelToDomEntityContext.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,14 @@ | ||
/** | ||
* Represent an object pair of Entity DOM node and placeholder comment node | ||
* Represents context for entity | ||
*/ | ||
export interface EntityPlaceholderPair { | ||
export interface ModelToDomEntityContext { | ||
/** | ||
* Wrapper element of element | ||
* When set to true, directly put entity DOM nodes into the result DOM tree when doing Content Model to DOM conversion and do not use placeholder | ||
*/ | ||
entityWrapper: HTMLElement; | ||
doNotReuseEntityDom: boolean; | ||
|
||
/** | ||
* Placeholder comment node | ||
* Entities collected during DOM tree generation, used for reusing existing DOM structure of entities | ||
*/ | ||
placeholder: Comment; | ||
} | ||
|
||
/** | ||
* Represents context for entity | ||
*/ | ||
export interface ModelToDomEntityContext { | ||
entityPairs: EntityPlaceholderPair[]; | ||
entities: Record<string, HTMLElement>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.