-
Notifications
You must be signed in to change notification settings - Fork 73
V17/rte migration fix #867
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes RTE migration from TinyMCE to TipTap for legacy files that don't have a toolbar property defined. The migration now provides default toolbar configurations and ensures all default TipTap extensions are loaded.
Key Changes:
- Added default toolbar and extension lists to handle missing toolbar configurations
- Updated migration logic to use default toolbar when none exists instead of skipping migration
- Integrated LocalLinkProcessor in RTEMapper to process local links during import
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| RTEMapper.cs | Added LocalLinkProcessor integration and GetImportValueAsync override to process local links in RTE markup during import |
| RichTextEditorMigratingSerializer.cs | Added default toolbar and extensions lists, updated migration logic to handle missing toolbar by using defaults instead of skipping |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fix that the RTE migration from tinyMCE to TipTap doesn't always fire on legacy files (when the legacy file doesn't have a 'toolbar'.
RTE Local links updated to match some of the v17.0.1 code.