Repository navigation
Conversation
…nd new blocks (#169) Write mode edits text paragraph by paragraph with markdown shortcuts, a format bar, a / block menu, {{ merge tags, undo/redo and a send checklist; Style mode previews desktop, mobile, sample data and dark inboxes beside the palette and block settings. Adds spacer, columns, social, html and conditional blocks, and a quickEdit hook so host blocks get the compact popover. Hosts can still add their own blocks and leave out any of ours.
… transactional mail (#169)
… subject and sender in the editor (#169)
This branch has not been deployed
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.
Closes #169.
Redesigns the email editor around writing, following the design attached to the issue.
What changes
Write mode
#,##,-,1.,>) turn a paragraph into a heading, list or quote./block menu, a{{merge-tag menu, and drag or arrow-key reordering.Style mode
New blocks
spacer,columns,socialandhtml.conditional: a section shown to contacts with or without a tag. Marketing only; it renders as Liquid and fails closed.For packages that embed the editor
EmailEditorprops:subject,onSubjectChange,variables,senderName,themeanddefaultMode.quickEditfor the popover.API
conditionalin transactional content is rejected withconditional_not_allowed.Web
Testing
bun run testpasses in every workspace (0 failures), and lint passes.Known rough edges (not in this PR)