fix: resolve TipTap v3 compatibility issues and clean up Monaco edito…#15
Merged
rui-typelets merged 1 commit intomainfrom Sep 22, 2025
Merged
fix: resolve TipTap v3 compatibility issues and clean up Monaco edito…#15rui-typelets merged 1 commit intomainfrom
rui-typelets merged 1 commit intomainfrom
Conversation
…r sync - Fix TipTap v3 import syntax (default vs named imports) - Remove history configuration from StarterKit (not available in v3) - Update setContent API calls for v3 compatibility - Clean up Monaco editor sync logic and remove workarounds
Contributor
|
🎉 This PR is included in version 1.18.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Changes Made
TipTap v3 Migration
import { StarterKit }instead ofimport StarterKit)historyconfiguration (not available in TipTap v3)useEditordependencies to only recreate on note ID changesTypeScript & Build Fixes
as ArrayBuffercasting for TypeScript 5.9 compatibilityMonaco Editor Improvements
Files Changed
src/components/editor/config/editor-config.ts- TipTap v3 import fixessrc/components/editor/hooks/useEditorEffects.ts- Cleaned up sync logicsrc/components/editor/index.tsx- Stabilized editor dependenciessrc/components/editor/extensions/ExecutableCodeBlockNodeView.tsx- Monaco key improvementssrc/lib/encryption/index.ts- Crypto API type fixessrc/index.css- CSS import order fixpublic/manifest.json- Added missing PWA manifestBreaking Changes
None - this is a compatibility update that maintains existing functionality.
Testing