Skip to content

Preserve pasted list numbering and fix public export types - #273

Merged
jurei733 merged 2 commits into
masterfrom
fix/preserve-list-imports-and-package-types
Oct 28, 2026
Merged

jurei733 merged 2 commits into
masterfrom
fix/preserve-list-imports-and-package-types

Conversation

@jurei733

Copy link
Copy Markdown
Collaborator

Pasting an HTML list such as <ol start="3" type="a"> reset its start and lettered style. Preserve the inherited ordered-list attributes and map HTML list types into the editor's custom styles, while retaining explicit CSS styles and literal plain-text paste behavior. Add real-editor HTML/JSON roundtrips and an embedded Schemer save/reopen regression test, including nested lists.

The public codebook-export declaration also exposed an unresolvable private Angular Material import. Explicitly type its table data source and add a regression test that packs and installs the actual npm distribution into a fresh consumer, then checks every public Angular entry point with skipLibCheck: false and Bundler resolution. Existing backend Bundler/NodeNext checks remain covered.

Validation on Node 24.20.0 / npm 11.19.0:

  • Both original failures reproduced before the fixes: 12 list test failures and the packed-consumer TS2307 error; all 15 list tests and all 3 type checks now pass.
  • 882 library, 25 Schemer, 1,344 codebook, 62 development-browser and 55 packed-browser tests passed. Library and packed Schemer builds, coding-scheme validation and Ajv compatibility passed.
  • Lint: 0 errors, 16 existing warnings. Production audit high-severity gate passed with the existing low KaTeX advisory.
  • The new 5.0.0 tarball passed fresh installation, npm ci, strict consumer type checking and ESM/CommonJS JSON/DOCX smoke tests. All 20 packed files match the final library build.

@jurei733
jurei733 marked this pull request as ready for review October 28, 2026 09:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T09:28:57.494817Z f982bcf Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jurei733
jurei733 merged commit cda6268 into master Oct 28, 2026
10 checks passed
@jurei733
jurei733 deleted the fix/preserve-list-imports-and-package-types branch October 28, 2026 09:42
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