-
Notifications
You must be signed in to change notification settings - Fork 193
Migrate rich-text package to TypeScript
#12233
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
Merged
Merged
Changes from 13 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
3609f3a
Add config + change files to .ts
miina be63c46
Commit missing change
miina e2eede9
Merge main
miina 6c8e09b
util.ts
miina 3e72636
Formatters
miina da2cf1d
More types
miina a2b9d5b
More types.
miina 080543e
Merge remote-tracking branch 'origin/main' into add/12179-typescript-…
miina 9592bcc
Type state.
miina 9deb517
Fix text.
miina 05d48b2
Ignore ts
miina b3fab60
Update provider.ts
miina e96fb55
More types.
miina 9bd12f2
Update context.ts
miina ce03a9b
More types
miina 520dd08
Merge remote-tracking branch 'origin/main' into add/12179-typescript-…
miina fbe6e77
More type error fixes.
miina 7026b32
Use DraftInlineStyle
miina 6c4042b
One more DraftInlineStyle usage
miina c02797a
Use CSSProperties
miina 298cfc1
Fix import
miina 2775269
Override convertFromHTML type
miina 75bfe9d
Try fixing pasting types.
miina 45ce84a
Use Immutable Map for renderMap
miina da481f0
Move types for props to the relevant component files.
miina 4664bd5
Use !== null instead of Boolean()
miina e26c93d
Use CSSProperties
miina b1f8ee0
Adjust styleMap to be a bit cleaner.
miina 56c273b
Add function overload for useRichText()
miina 14d8ccc
Init empty state with values
miina da066f2
Add Formatter interface
miina 8b8ce75
Import immutable
miina 8cd600e
Merge remote-tracking branch 'origin/main' into add/12179-typescript-…
miina fcdcbaa
Fix setter types.
miina b4ac830
Fix tests.
miina 54e12c6
Use draft-js-export-html fork with built files
swissspidy 7a892df
Adjust function overload for useRichText
miina 68dcde8
Update lock file
swissspidy 69374e7
Merge remote-tracking branch 'origin/main' into add/12179-typescript-…
miina b4fc5e2
Remove ts-ignore
miina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
File renamed without changes.
File renamed without changes.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.