-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2159 from microsoft/romasha/versionbump1020
Bump RoosterJS verson to 8.58
- Loading branch information
Showing
337 changed files
with
8,745 additions
and
3,262 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,5 +146,7 @@ module.exports = { | |
}, | ||
], | ||
'import/no-duplicates': 'error', | ||
'prefer-const': 'error', | ||
'no-var': 'error', | ||
}, | ||
}; |
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
10 changes: 0 additions & 10 deletions
10
...pts/controls/contentModel/components/format/formatPart/ListStylePositionFormatRenderer.ts
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
...ts/controls/contentModel/components/format/formatPart/ListStylePositionFormatRenderers.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { createDropDownFormatRenderer } from '../utils/createDropDownFormatRenderer'; | ||
import { createTextFormatRenderer } from '../utils/createTextFormatRenderer'; | ||
import { FormatRenderer } from '../utils/FormatRenderer'; | ||
import { ListStyleFormat } from 'roosterjs-content-model-types'; | ||
|
||
export const ListStylePositionFormatRenderers: FormatRenderer<ListStyleFormat>[] = [ | ||
createDropDownFormatRenderer( | ||
'List position', | ||
['inside', 'outside'], | ||
format => format.listStylePosition, | ||
(format, value) => (format.listStylePosition = value) | ||
), | ||
createTextFormatRenderer( | ||
'List style type', | ||
format => format.listStyleType, | ||
(format, value) => (format.listStyleType = value) | ||
), | ||
]; |
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
Oops, something went wrong.