-
Notifications
You must be signed in to change notification settings - Fork 22
Migrate from TinyMCE to TipTap #1349
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1349 +/- ##
=======================================
Coverage 80.10% 80.10%
=======================================
Files 70 70
Lines 4755 4755
=======================================
Hits 3809 3809
Misses 946 946 🚀 New features to boost your workflow:
|
datalab
|
Project |
datalab
|
Branch Review |
bc/migrate-to-tiptap
|
Run status |
|
Run duration | 07m 33s |
Commit |
|
Committer | Ben Charmes |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
358
|
View all changes introduced in this branch ↗︎ |
Hey @jdbocarsly, as discussed last week in the PR using QuillJS, cross-referencing (should) work in this PR if you want to test it. I think I'm going to abandon QuillJS in favour of Tiptap to replace TinyMCE. |
This is really slick! Thanks for doing this. The @ tagging is really smooth, and I really like the mermaid editor! A few notes:
|
75b87c4
to
015ce86
Compare
|
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.
Looking really nice @BenjaminCharmes! As discussed, let's get this merged with some final tweaks and things to think about:
- Either write a formal test or just check what an old complex (e.g., colours, tables, images) TinyMCE description looks like when rendered here
- Make sure the cross-ref item search can also search for equipment (may need future API change)
- Investigate image plugin for tiptap for uploading images
- Tweak button for equations to say f(x) (or whatever)
- Enable markdown preview/toggle either in this PR or future
Add padding Handle clickoutside while select text Add prosemirror-view to resolutions Re-add data-testid to Tiptap editor Update cypress run pre-commit local Update cypress Update cypress manual pre-commit modif manual pre-commit modif Update MarkdownToggle.js Update MarkdownToggle.js Remove 'blur' causing issue with toggle markdown
97a3356
to
8fb22c3
Compare
Closes #1232
Duplicate of the PR #1343 , but this one uses Tiptap and supports all the basic features of TinyMCE.
Perhaps it would be easier to merge the two to compare Quill and Tiptap? After trying both, TipTap seems more robust for the long term.
This PR already support:
TinyMCEInline.vue