René's URL Explorer Experiment


Title: feat(rich-md-editor): table row/col toolbar, raw HTML/footnote support, paste fidelity by waleedlatif1 · Pull Request #5438 · simstudioai/sim · GitHub

Open Graph Title: feat(rich-md-editor): table row/col toolbar, raw HTML/footnote support, paste fidelity by waleedlatif1 · Pull Request #5438 · simstudioai/sim

X Title: feat(rich-md-editor): table row/col toolbar, raw HTML/footnote support, paste fidelity by waleedlatif1 · Pull Request #5438 · simstudioai/sim

Description: Summary Add a table toolbar (add/delete row, add/delete column, toggle header row, delete table) wired to stock @tiptap/extension-table commands — no schema/serializer changes Add verbatim snippet nodes for raw HTML blocks, HTML comments, footnotes (def + ref), and inline raw HTML tags — these used to force the entire document read-only; now the raw source is held byte-for-byte and directly editable in place Fix an upstream @tiptap/markdown bug found while building this: a custom tokenizer with no explicit start callback corrupts the shared lexer, silently dropping unrelated content (images, tables, mentions) elsewhere in the same document Prefer the markdown parser over generic HTML→DOM paste mapping when the plaintext clipboard side looks like markdown, even if an HTML sibling is present Fix a stale select-all selection surviving a stream-settle content replace, which permanently highlighted every divider/image after a file regeneration Type of Change New feature Bug fix Testing 223 tests passing in the rich-markdown-editor directory (up from 196), 362 passing across the whole files module. Added integration-level tests exercising the live editor stack (not just headless parse/serialize): table toolbar commands round-tripping through the real serializer, raw snippet node views rendering and being genuinely editable in the DOM, and the stream-settle selection fix locked in at the ProseMirror mechanism level. Biome clean across all 68 files in the directory. Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Add a table toolbar (add/delete row, add/delete column, toggle header row, delete table) wired to stock @tiptap/extension-table commands — no schema/serializer changes Add verbatim snippet...

X Description: Summary Add a table toolbar (add/delete row, add/delete column, toggle header row, delete table) wired to stock @tiptap/extension-table commands — no schema/serializer changes Add verbatim snippet...

Opengraph URL: https://github.com/simstudioai/sim/pull/5438

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8511a99f-5682-83be-0ed2-a0222d220171
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9050:2B9F:29A1AD:3A7532:6AFB5307
html-safe-nonce2a6b8072b62bf7b2f98f41609fa75cd1dd00742e59d7d152a85612e9566fb6b3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDUwOjJCOUY6MjlBMUFEOjNBNzUzMjo2QUZCNTMwNyIsInZpc2l0b3JfaWQiOiIzNTY2MjI0NjQwMzEwOTg5NTc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace8fa09f600d5fb2f1ca9d00a6795d0680b32c784cec40e712266e2cef35c0694
hovercard-subject-tagpull_request:4001111468
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5438/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Add a table toolbar (add/delete row, add/delete column, toggle header row, delete table) wired to stock @tiptap/extension-table commands — no schema/serializer changes Add verbatim snippet...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5438/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5438%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5438%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5438/files
Reloadhttps://github.com/simstudioai/sim/pull/5438/files
Reloadhttps://github.com/simstudioai/sim/pull/5438/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
investigate/markdown-source-editinghttps://github.com/simstudioai/sim/tree/investigate/markdown-source-editing
Conversation 16 https://github.com/simstudioai/sim/pull/5438
Commits 3 https://github.com/simstudioai/sim/pull/5438/commits
Checks 17 https://github.com/simstudioai/sim/pull/5438/checks
Files changed https://github.com/simstudioai/sim/pull/5438/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5438/files
feat(rich-md-editor): table row/col toolbar, raw HTML/footnote support, paste fidelity https://github.com/simstudioai/sim/pull/5438/files#top
Show all changes 3 commits https://github.com/simstudioai/sim/pull/5438/files
c8086bf feat(rich-md-editor): table row/col toolbar, raw HTML/footnote suppor… waleedlatif1 Jul 6, 2026 https://github.com/simstudioai/sim/pull/5438/commits/c8086bf249abf5a4d5e2c82c73abe51ae1253957
86d1cdb fix(rich-md-editor): address review findings from initial PR round waleedlatif1 Jul 6, 2026 https://github.com/simstudioai/sim/pull/5438/commits/86d1cdbcec9919610e991eadc4b3e949fdfaa332
0eb68c2 fix(rich-md-editor): fix CI type errors in raw-markdown-snippet.tsx waleedlatif1 Jul 6, 2026 https://github.com/simstudioai/sim/pull/5438/commits/0eb68c2970064f7b4b4a521fa28cd3e04f99a8e1
Clear filters https://github.com/simstudioai/sim/pull/5438/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5438/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5438/files
editor-extensions.ts https://github.com/simstudioai/sim/pull/5438/files#diff-cb2c206d25ea13655dbf4c2c1723b67c66a469f397a8de625f9917c5ad59f926
extensions.ts https://github.com/simstudioai/sim/pull/5438/files#diff-7b00ff67d864b0cefc6bdabee28efdfce930aba686376131939d4f98af1a09ae
markdown-paste.test.ts https://github.com/simstudioai/sim/pull/5438/files#diff-6dd1bb954441318158b3f450a775b2b0d3b7ad4f28660ce672ba5c8ce6d35e6d
markdown-paste.ts https://github.com/simstudioai/sim/pull/5438/files#diff-65109de38c4202cc2f47f2a26dde53755040fead9155bb2d54b2415e6813700b
table-menu.test.ts https://github.com/simstudioai/sim/pull/5438/files#diff-6ea95c6a32b3c938cc5bdb96a01858ace2eddcb199f6d4f1253dc0de64cb5be8
table-menu.tsx https://github.com/simstudioai/sim/pull/5438/files#diff-1515e6f743ac905692804d110f03eda046dc7663d814170bd04e440df9132306
raw-markdown-snippet-view.test.ts https://github.com/simstudioai/sim/pull/5438/files#diff-083b31a60b99e7de753237273d36fd5fba74d776ccfd0df86e6355661cc41862
raw-markdown-snippet.test.ts https://github.com/simstudioai/sim/pull/5438/files#diff-a22d4ce694a1d22f729e40eccf18b3268ff578c9d8b638f2d18692d6cc326db8
raw-markdown-snippet.tsx https://github.com/simstudioai/sim/pull/5438/files#diff-a0f925de560437a317f15c85b88db76962d28e572402db2a6c19ce92cf0b25d6
rich-markdown-editor.css https://github.com/simstudioai/sim/pull/5438/files#diff-72cd52075ca5767b1230f7ea9f4ec66103bff3ff90441919771b63bfad3a7984
rich-markdown-editor.tsx https://github.com/simstudioai/sim/pull/5438/files#diff-6ddf250be25a5febc97c8c4a2e0f9e93b869e674efbb9bd43358137571ddc05a
round-trip-safety.test.ts https://github.com/simstudioai/sim/pull/5438/files#diff-40999043e7be1320fa3d8be41fc172b46da102ba6fc0cc737e439809b8a2dff0
round-trip-safety.ts https://github.com/simstudioai/sim/pull/5438/files#diff-bb1ee95fc6a13316149c2f0286aa3b01ab93d5405da6af93ef740438c35b560f
stream-settle-selection.test.ts https://github.com/simstudioai/sim/pull/5438/files#diff-83207bc7e222eeb6910ec807b5b18a8a9bf3c811549de8b9075f612d0dc6de06
...pace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/editor-extensions.tshttps://github.com/simstudioai/sim/pull/5438/files#diff-cb2c206d25ea13655dbf4c2c1723b67c66a469f397a8de625f9917c5ad59f926
View file https://github.com/simstudioai/sim/blob/0eb68c2970064f7b4b4a521fa28cd3e04f99a8e1/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/editor-extensions.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5438/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5438/files#diff-cb2c206d25ea13655dbf4c2c1723b67c66a469f397a8de625f9917c5ad59f926
https://github.com/simstudioai/sim/pull/5438/files#diff-cb2c206d25ea13655dbf4c2c1723b67c66a469f397a8de625f9917c5ad59f926
https://github.com/simstudioai/sim/pull/5438/files#diff-cb2c206d25ea13655dbf4c2c1723b67c66a469f397a8de625f9917c5ad59f926
https://github.com/simstudioai/sim/pull/5438/files#diff-cb2c206d25ea13655dbf4c2c1723b67c66a469f397a8de625f9917c5ad59f926
...p/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/extensions.tshttps://github.com/simstudioai/sim/pull/5438/files#diff-7b00ff67d864b0cefc6bdabee28efdfce930aba686376131939d4f98af1a09ae
View file https://github.com/simstudioai/sim/blob/0eb68c2970064f7b4b4a521fa28cd3e04f99a8e1/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/extensions.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5438/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5438/files#diff-7b00ff67d864b0cefc6bdabee28efdfce930aba686376131939d4f98af1a09ae
https://github.com/simstudioai/sim/pull/5438/files#diff-7b00ff67d864b0cefc6bdabee28efdfce930aba686376131939d4f98af1a09ae
https://github.com/simstudioai/sim/pull/5438/files#diff-7b00ff67d864b0cefc6bdabee28efdfce930aba686376131939d4f98af1a09ae
https://github.com/simstudioai/sim/pull/5438/files#diff-7b00ff67d864b0cefc6bdabee28efdfce930aba686376131939d4f98af1a09ae
https://github.com/simstudioai/sim/pull/5438/files#diff-7b00ff67d864b0cefc6bdabee28efdfce930aba686376131939d4f98af1a09ae
https://github.com/simstudioai/sim/pull/5438/files#diff-7b00ff67d864b0cefc6bdabee28efdfce930aba686376131939d4f98af1a09ae
...ce/[workspaceId]/files/components/file-viewer/rich-markdown-editor/markdown-paste.test.tshttps://github.com/simstudioai/sim/pull/5438/files#diff-6dd1bb954441318158b3f450a775b2b0d3b7ad4f28660ce672ba5c8ce6d35e6d
View file https://github.com/simstudioai/sim/blob/0eb68c2970064f7b4b4a521fa28cd3e04f99a8e1/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/markdown-paste.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5438/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5438/files#diff-6dd1bb954441318158b3f450a775b2b0d3b7ad4f28660ce672ba5c8ce6d35e6d
https://github.com/simstudioai/sim/pull/5438/files#diff-6dd1bb954441318158b3f450a775b2b0d3b7ad4f28660ce672ba5c8ce6d35e6d
...rkspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/markdown-paste.tshttps://github.com/simstudioai/sim/pull/5438/files#diff-65109de38c4202cc2f47f2a26dde53755040fead9155bb2d54b2415e6813700b
View file https://github.com/simstudioai/sim/blob/0eb68c2970064f7b4b4a521fa28cd3e04f99a8e1/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/markdown-paste.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5438/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5438/files#diff-65109de38c4202cc2f47f2a26dde53755040fead9155bb2d54b2415e6813700b
https://github.com/simstudioai/sim/pull/5438/files#diff-65109de38c4202cc2f47f2a26dde53755040fead9155bb2d54b2415e6813700b
https://github.com/simstudioai/sim/pull/5438/files#diff-65109de38c4202cc2f47f2a26dde53755040fead9155bb2d54b2415e6813700b
.../[workspaceId]/files/components/file-viewer/rich-markdown-editor/menus/table-menu.test.tshttps://github.com/simstudioai/sim/pull/5438/files#diff-6ea95c6a32b3c938cc5bdb96a01858ace2eddcb199f6d4f1253dc0de64cb5be8
View file https://github.com/simstudioai/sim/blob/0eb68c2970064f7b4b4a521fa28cd3e04f99a8e1/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/menus/table-menu.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5438/{{ revealButtonHref }}
...pace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/menus/table-menu.tsxhttps://github.com/simstudioai/sim/pull/5438/files#diff-1515e6f743ac905692804d110f03eda046dc7663d814170bd04e440df9132306
View file https://github.com/simstudioai/sim/blob/0eb68c2970064f7b4b4a521fa28cd3e04f99a8e1/apps/sim/app/workspace/%5BworkspaceId%5D/files/components/file-viewer/rich-markdown-editor/menus/table-menu.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5438/{{ revealButtonHref }}
Please reload this pagehttps://github.com/simstudioai/sim/pull/5438/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5438/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.