René's URL Explorer Experiment


Title: id(web): saving a .txt file silently deletes every list, quote, code block and table · Issue #1306 · developing-today/code · GitHub

Open Graph Title: id(web): saving a .txt file silently deletes every list, quote, code block and table · Issue #1306 · developing-today/code

X Title: id(web): saving a .txt file silently deletes every list, quote, code block and table · Issue #1306 · developing-today/code

Description: id(web): saving a .txt file silently deletes every list, quote, code block and table Summary A .txt document is edited in the full rich editor, but the save path extracts only paragraph and heading text. Every other block the editor allo...

Open Graph Description: id(web): saving a .txt file silently deletes every list, quote, code block and table Summary A .txt document is edited in the full rich editor, but the save path extracts only paragraph and heading...

X Description: id(web): saving a .txt file silently deletes every list, quote, code block and table Summary A .txt document is edited in the full rich editor, but the save path extracts only paragraph and heading...

Opengraph URL: https://github.com/developing-today/code/issues/1306

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(web): saving a .txt file silently deletes every list, quote, code block and table","articleBody":"# id(web): saving a .txt file silently deletes every list, quote, code block and table\n\n## Summary\n\nA `.txt` document is edited in the full rich editor, but the save path\nextracts only paragraph and heading text. Every other block the editor\nallows — bullet/ordered/task lists, blockquotes, code blocks, tables,\nhorizontal rules — is **silently deleted** on save, with a success\nresponse. This is unrecoverable data loss for any `.txt` file whose\nauthor used the toolbar, markdown shortcuts, paste, or a collab peer's\nedit to create a non-paragraph block.\n\n## Evidence\n\n- Editor side: `pkgs/id/web/src/editor.ts:288-289` — `getSchema(mode)`\n  returns `richSchema` for every mode except `raw`, and `:295`\n  `hasToolbar` includes `plain`. The file comment at `:42` says the\n  full schema (lists, GFM task lists, tables) applies to\n  \"rich/markdown/plain modes\". So a `.txt` doc legitimately contains\n  any block type.\n- Save side: `pkgs/id/src/web/routes.rs:1976` `convert_doc_to_bytes`\n  routes `.txt` (ContentMode::Plain) to `extract_plain_text`\n  (`routes.rs:2009`). That function handles only `paragraph` and\n  `heading` at the top level; the catch-all arm at `routes.rs:2049`\n  is `_ => {}` — every other node is dropped without a log, error, or\n  placeholder. (Inline non-text nodes are likewise dropped at `:2032`.)\n- Verified this run on origin/main 90f7ea00 with a probe crate holding\n  the verbatim `extract_plain_text` body (log:\n  `hidden_files/probe-2026-10-26-2352/out4.log`): a doc containing\n  paragraph \"intro\", a 2-item bullet list, a blockquote, a code block,\n  a table cell and a paragraph \"outro\" extracted to exactly\n  `\"intro\\noutro\"` — the list items, quote, code and cell text all\n  vanished.\n\n## Why it matters\n\nSilent, success-reported deletion is the worst failure class for a\ndocuments app: the user only discovers the loss on the next open, and\nby then the saved bytes are the only copy. The heading arm shows the\nauthors already knew non-paragraph blocks reach this function; the\nremaining block types were simply never handled.\n\n## Acceptance criteria\n\n- Saving a `.txt` doc containing lists, blockquote, code block, table\n  or horizontal rule no longer silently discards their text: either\n  the text is extracted in a documented plain-text rendering (e.g.\n  list item text per line, cell text per line), or the save fails\n  loudly for docs it cannot represent — pick one policy, document it\n  on `convert_doc_to_bytes`, and pin it with tests.\n- A regression test in the web routes/markdown test suite covers at\n  least: bullet list, blockquote, code block, table — asserting the\n  saved `.txt` bytes contain their text (or the save errors, per the\n  chosen policy).\n- Paragraph/heading-only `.txt` docs save byte-identically to today.\n- The markdown (`.md`) and raw save paths are unchanged.\n\n## Suggested direction\n\nRecursive text extraction over block children (list_item → its\nparagraphs, blockquote → its blocks, table rows/cells → their\nparagraphs, code_block → its text) is the smallest change that makes\n`.txt` save loss-free for text content; formatting marks/structure\nare inherently lost in plain text, text must not be.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-27T05:31:10Z","url":"https://github.com/developing-today/code/issues/1306"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c6bda0cb-e49d-638d-9fa0-8979c734413b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBBEE:2A9AB5:9F9C30:CE0DBB:6B06334D
html-safe-nonce870abf59108e24bd3001f9918d85b5dbf640afdf5c706dc6a99568b88f4efadc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkVFOjJBOUFCNTo5RjlDMzA6Q0UwREJCOjZCMDYzMzREIiwidmlzaXRvcl9pZCI6IjgwMDAxNTczMDM5ODA4MzE1NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac526f88092202529757f6a8da9b180f83126b0427aecc041b50fb97eacc1f5f3b
hovercard-subject-tagissue:6053505965
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/1306/issue_layout
twitter:imagehttps://opengraph.githubassets.com/65e10cb9f26588eea66bab672045da52eacc7ac5173890c753b18957026738cc/developing-today/code/issues/1306
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/65e10cb9f26588eea66bab672045da52eacc7ac5173890c753b18957026738cc/developing-today/code/issues/1306
og:image:altid(web): saving a .txt file silently deletes every list, quote, code block and table Summary A .txt document is edited in the full rich editor, but the save path extracts only paragraph and heading...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonec3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9eb3bb1597d09170a5f282cd38ae376dee1a5ec1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/1306#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F1306
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%2Fdeveloping-today%2Fcode%2Fissues%2F1306
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/1306
Reloadhttps://github.com/developing-today/code/issues/1306
Reloadhttps://github.com/developing-today/code/issues/1306
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests151 (151)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/1306
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/1306
#1448https://github.com/developing-today/code/pull/1448
id(web): saving a .txt file silently deletes every list, quote, code block and tablehttps://github.com/developing-today/code/issues/1306#top
#1448https://github.com/developing-today/code/pull/1448
https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#issue-6053505965
90f7ea0https://github.com/developing-today/code/commit/90f7ea00817af04b083560941c08a8fdd546914b
Nexthttps://github.com/developing-today/code/issues/1306?timeline_page=1
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#issuecomment-6434580824
developing.todayhttps://kaneo.security.cab
CODE-424https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/epyohq7x49qtyycoxt2q8dfi
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#event-34333830734
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#event-34333843683
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#issuecomment-6434596343
90f7ea0https://github.com/developing-today/code/commit/90f7ea00817af04b083560941c08a8fdd546914b
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#event-34339395562
dezren39https://github.com/dezren39
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
status/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fparked%22
queue/parkedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fparked%22
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#event-34391920305
dezren39https://github.com/dezren39
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#event-34394897720
Merge pull request #1448 from developing-today/queue/1315-1306-txt-pl…https://github.com/developing-today/code/commit/b27dbe8e15e6984e3afed5c712d31551b063e08f
#1448https://github.com/developing-today/code/pull/1448
b27dbe8https://github.com/developing-today/code/commit/b27dbe8e15e6984e3afed5c712d31551b063e08f
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#1448https://github.com/developing-today/code/pull/1448
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#event-34394897922
developing-todayhttps://github.com/apps/developing-today
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
status:in-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Ain-review%22
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#event-34394902410
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#issuecomment-6449271399
fix(id-web): make .txt save loss-free — recursive plain-text extraction (#1306) #1448https://github.com/developing-today/code/pull/1448
id(web): saving a .txt file silently deletes every list, quote, code block and table #1306https://github.com/developing-today/code/issues/1306
id(web): saving a .txt file silently deletes every list, quote, code block and table #1306https://github.com/developing-today/code/issues/1306
fix(id-web): make .txt save loss-free — recursive plain-text extraction (#1306) #1448https://github.com/developing-today/code/pull/1448
dezren39https://github.com/dezren39
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Oct 27, 2026https://github.com/developing-today/code/issues/1306#event-34395241198
dezren39https://github.com/dezren39
on Nov 2, 2026https://github.com/developing-today/code/issues/1306#event-34942209398
chore(flake): bump opencode_2 to 424c8d6f (opencode: bench ladder #1305…https://github.com/developing-today/code/commit/cfc9b9256ca84c27f1d3980e90b23e4c7f768e81
#1305https://github.com/developing-today/code/pull/1305
cfc9b92https://github.com/developing-today/code/commit/cfc9b9256ca84c27f1d3980e90b23e4c7f768e81
chore(flake): bump opencode_2 to 401ba065 (opencode: bench ladder #1305…https://github.com/developing-today/code/commit/cf7c6f93f97bdc87eb656f85b3563d20c91bd163
#1305https://github.com/developing-today/code/pull/1305
cf7c6f9https://github.com/developing-today/code/commit/cf7c6f93f97bdc87eb656f85b3563d20c91bd163
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/1306
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/1306
dezren39https://github.com/dezren39
app/idhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fid%22
effort/shttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/highhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fhigh%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
status:donehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%3Adone%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.