Skip to content

feat(web): add headings, blockquotes and codeblocks#549

Open
pkaramon wants to merge 20 commits intomainfrom
@pkaramon/feat-web-header-blockquote-codeblock
Open

feat(web): add headings, blockquotes and codeblocks#549
pkaramon wants to merge 20 commits intomainfrom
@pkaramon/feat-web-header-blockquote-codeblock

Conversation

@pkaramon
Copy link
Copy Markdown
Collaborator

@pkaramon pkaramon commented Apr 15, 2026

Summary

  • added <h1> to <h6>, <blockquote> and <codeblock> to web
  • added handling of htmlStyle for new elements
  • added visual regression tests for new elements
  • added tests for custom keyboard navigation, merging adjacent blocks etc. behavior that was added to match tiptap to the native implemenation
  • moved StrictMarksPlugin to pmPlugins (ProseMirror plugins), a directory that contains a lot of the custom logic to match tiptap to native
  • VisualRegression screen now displays the current html and also allows customizing htmlStyle during a test
  • removed padding from inline code, as the native does not have it, and it also caused issues with headings, where the padding intruded on elements below.

Test Plan

  • Run yarn test:e2e:web to see if all the new web tests pass
  • Run yarn example-web dev and play around with new elements

Screenshots / Videos

image

Compatibility

OS Implemented
iOS
Android
Web

Checklist

  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

@pkaramon pkaramon changed the title @pkaramon/feat web header blockquote codeblock feat(web): add headings, blockquotes and codeblocks Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant