Draft
Conversation
…d live region announcements
…ty and emojipicker extension
🧪 Review environmenthttps://26rsnitybnlo2j3lvh3fjjsla40kxsqb.lambda-url.ca-central-1.on.aws/ |
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 | Résumé
This pull request introduces several new features and improvements to the Tiptap editor's custom components, focusing on enhanced markdown support, new node types, and better user experience for tables, callouts, links, and emoji suggestions. The most significant changes include the addition of a callout block node, improved table markdown serialization with column width support, enhanced link handling with CTA attributes, and an interactive emoji picker with suggestion popups.
Callout node
CalloutBlocknode with full markdown serialization and parsing, ProseMirror plugin integration, and commands for inserting, wrapping, toggling, and unsetting callout blocks. This node also prevents nesting with language blocks and itself.Table support
TableNodeextension that serializes table column widths to markdown using a special marker, and parses them back into the DOM, preserving table layout fidelity between markdown and the editor. (app/assets/javascripts/tiptap/CustomComponents/TableNode.js)CTA link enhancement
MarkdownLinkto support actaattribute, with custom markdown serialization and parsing for CTA links using[[cta]]...[[/cta]]markers. Also ensures CTA links are correctly rendered and parsed from HTML and markdown.Emoji picker
EmojiPickerextension with a React-based suggestion popup, keyboard navigation, and markdown serialization for emojis. The picker provides up to six suggestions based on user input and supports both emoji glyphs and shortcode fallback.Test instructions | Instructions pour tester la modification