diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9ddbd5b3c3..bab912aa9f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,9 @@ -* @superdoc-dev/reviewers +* @superdoc/reviewers + +# Contributor License Agreement. +# AIDEV-NOTE: A change to CLA.md is a legal change, not a docs edit. Any change +# to the agreement text is a NEW versioned agreement (new version + hash), never +# an in-place edit that keeps accepting prior signatures. Reassign these paths to +# a dedicated Legal / designated-maintainer team once one exists; the interim +# owner below matches the repository-wide default above. +/CLA.md @superdoc/reviewers diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index c9d2338c93..152ea05e7e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -4,5 +4,5 @@ contact_links: url: https://discord.gg/wjMccuygvy about: Ask questions or chat with the community on Discord - name: Want to contribute? - url: https://github.com/superdoc-dev/superdoc/blob/main/CONTRIBUTING.md + url: https://github.com/superdoc/docx-editor/blob/main/CONTRIBUTING.md about: Check out our contributing guide to get started diff --git a/.github/scripts/agent-docs-pr-comment.mjs b/.github/scripts/agent-docs-pr-comment.mjs index 879be0f708..0fef17fcde 100755 --- a/.github/scripts/agent-docs-pr-comment.mjs +++ b/.github/scripts/agent-docs-pr-comment.mjs @@ -14,7 +14,7 @@ import { computeFlags, pairFlaggedForReview, runL1Scan } from './agent-docs-l1.m const MARKER = ''; const PR = process.env.PR_NUMBER; -const REPO = process.env.REPO ?? 'superdoc-dev/superdoc'; +const REPO = process.env.REPO ?? 'superdoc/docx-editor'; const REPO_ROOT = resolve(process.env.REPO_ROOT ?? process.cwd()); const SHA = process.env.GITHUB_SHA ?? 'unknown-sha'; const GATE_RESULT_PATH = process.env.GATE_RESULT_PATH || '/tmp/agent-docs-gate.json'; diff --git a/.github/scripts/agent-docs-pr-gate.mjs b/.github/scripts/agent-docs-pr-gate.mjs index dd992a2ee8..f0fadf892f 100644 --- a/.github/scripts/agent-docs-pr-gate.mjs +++ b/.github/scripts/agent-docs-pr-gate.mjs @@ -26,7 +26,7 @@ import { runL1Scan } from './agent-docs-l1.mjs'; const REPO_ROOT = resolve(process.env.REPO_ROOT ?? process.cwd()); const BASE_REF = process.env.BASE_REF || 'main'; const PR = process.env.PR_NUMBER; -const REPO = process.env.REPO ?? 'superdoc-dev/superdoc'; +const REPO = process.env.REPO ?? 'superdoc/docx-editor'; const RESULT_PATH = process.env.GATE_RESULT_PATH || '/tmp/agent-docs-gate.json'; const DRY_RUN = process.argv.includes('--dry-run'); diff --git a/.github/scripts/risk-assess.mjs b/.github/scripts/risk-assess.mjs index d37b97a433..2b8ca42871 100644 --- a/.github/scripts/risk-assess.mjs +++ b/.github/scripts/risk-assess.mjs @@ -14,7 +14,7 @@ * Env: * ANTHROPIC_API_KEY — required * GITHUB_TOKEN — for fetching PR data via gh CLI - * REPO — owner/repo (default: superdoc-dev/superdoc) + * REPO — owner/repo (default: superdoc/docx-editor) */ import { execSync } from 'node:child_process'; @@ -23,7 +23,7 @@ import { writeFileSync } from 'node:fs'; // Allow running inside a Claude Code session delete process.env.CLAUDECODE; -const REPO = process.env.REPO || 'superdoc-dev/superdoc'; +const REPO = process.env.REPO || 'superdoc/docx-editor'; /** Extract the first valid JSON object containing "level" from text. */ function extractJSON(text) { diff --git a/.github/workflows/notify-homepage-superdoc-release.yml b/.github/workflows/notify-homepage-superdoc-release.yml index f84e446b7f..a8c6d06a54 100644 --- a/.github/workflows/notify-homepage-superdoc-release.yml +++ b/.github/workflows/notify-homepage-superdoc-release.yml @@ -1,4 +1,4 @@ -# Fires repository_dispatch to superdoc-dev/homepage when a stable SuperDoc +# Fires repository_dispatch to superdoc/homepage when a stable SuperDoc # release ships, so the homepage can auto-bump its superdoc dependency. # # Trigger matches promote-stable-docs.yml: stable superdoc releases now run @@ -30,7 +30,7 @@ jobs: with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - owner: superdoc-dev + owner: superdoc repositories: homepage - name: Detect release and dispatch @@ -68,8 +68,8 @@ jobs: exit 0 fi - echo "Dispatching superdoc@$version to superdoc-dev/homepage" - gh api -X POST repos/superdoc-dev/homepage/dispatches \ + echo "Dispatching superdoc@$version to superdoc/homepage" + gh api -X POST repos/superdoc/homepage/dispatches \ -f event_type=superdoc-stable-release \ -f "client_payload[version]=$version" \ -f "client_payload[source_run_id]=$SOURCE_RUN_ID" diff --git a/.github/workflows/superdoc-oss-sync-to-labs.yml b/.github/workflows/superdoc-oss-sync-to-labs.yml deleted file mode 100644 index a60ced5ebb..0000000000 --- a/.github/workflows/superdoc-oss-sync-to-labs.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Notify Labs of OSS changes - -on: - push: - branches: - - main - -permissions: - contents: read - -concurrency: - group: superdoc-oss-sync-dispatch - cancel-in-progress: false - -jobs: - dispatch: - name: Dispatch to Labs - runs-on: ubuntu-latest - timeout-minutes: 5 - steps: - - name: Create Labs App token - id: labs-token - uses: actions/create-github-app-token@v2 - with: - app-id: ${{ secrets.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} - owner: superdoc-dev - repositories: labs - - - name: Dispatch superdoc-oss-sync to Labs - env: - GH_TOKEN: ${{ steps.labs-token.outputs.token }} - run: | - gh api repos/superdoc-dev/labs/dispatches \ - -f event_type=superdoc-oss-sync \ - -F client_payload[sha]='${{ github.sha }}' \ - -F client_payload[ref]='${{ github.ref_name }}' diff --git a/CLA.md b/CLA.md new file mode 100644 index 0000000000..48fede8e32 --- /dev/null +++ b/CLA.md @@ -0,0 +1,65 @@ +

+ SuperDoc +

+ +# SuperDoc Contributor License Agreement Summary + +Thanks for contributing to SuperDoc. This Contributor License Agreement helps us accept community contributions while making sure the project has clear rights to use, maintain, distribute, and improve the code over time. + +A few important points: + +- **You still own your contribution.** This agreement does not transfer ownership of your code to SuperDoc. +- **You give SuperDoc permission to use your contribution.** This lets us include it in SuperDoc, maintain it, distribute it, and make it available under our open source and commercial licenses. +- **You only need to sign once.** After you accept the agreement, future contributions from the same GitHub account are covered. +- **Please only contribute work you have the right to submit.** If your employer may own your work, or if your contribution includes third-party code, please make sure you have permission before submitting it. +- **You do not have to support your contribution forever.** Once submitted, you are not responsible for ongoing maintenance unless you choose to help. + +We use this agreement so SuperDoc can remain a healthy open source project and a reliable product for the companies and developers who depend on it. + +If you have questions, contact us at [legal@superdoc.dev](mailto:legal@superdoc.dev). + +This summary is provided for convenience only and is not intended to modify, limit, or replace the terms of the Contributor License Agreement below. If there is any conflict between this summary and the Contributor License Agreement, the Contributor License Agreement controls. + +--- + +# SuperDoc Contributor License Agreement (Individuals) + +**Agreement version:** 1.0 + +You accept and agree to the following terms and conditions for Your past, present, and future Contributions submitted to Company. Except for the license granted herein to Company and recipients of software distributed by Company, You reserve all right, title, and interest in and to Your Contributions. + +**1. Definitions.** + +"Company" means Harbour Enterprises, Inc., doing business as SuperDoc. + +"You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Company. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"Contribution" shall mean any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to Company for inclusion in, or documentation of, any of the products owned or managed by Company (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to Company or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Company for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution." + +**2. Grant of Copyright License.** Subject to the terms and conditions of this Agreement, You hereby grant to Company and to recipients of software distributed by Company a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works. + +**3. Grant of Patent License.** Subject to the terms and conditions of this Agreement, You hereby grant to Company and to recipients of software distributed by Company a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that Your Contribution, or the Work to which You have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed. + +**4.** You represent that You are legally entitled to grant the above license. If Your employer(s) has rights to intellectual property that You create that includes Your Contributions, You represent that You have received permission to make Contributions on behalf of that employer, that Your employer has waived such rights for Your Contributions to Company, or that Your employer has executed a separate Corporate Contributor License Agreement with Company. + +**5.** You represent that each of Your Contributions is Your original creation (see Section 7 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or any other restriction (including, but not limited to, related patents and trademarks, whether such patents or trademarks are Yours, Your employer's or any other party's) of which You are personally aware and which are associated with any part of Your Contributions. You further represent that Your Contributions do not include code, documentation, or other materials copied from third-party sources, generated or provided under terms that would restrict Company's use, distribution, sublicensing, or relicensing of the Contribution, or otherwise subject to license terms inconsistent with this Agreement, except as disclosed by You in writing. + +**6.** You are not expected to provide support for Your Contributions, except to the extent You desire to provide support. You may provide support for free, for a fee, or not at all. UNLESS REQUIRED BY APPLICABLE LAW OR AGREED IN WRITING, YOU PROVIDE YOUR CONTRIBUTIONS ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. + +**7.** Should You wish to submit work that is not Your original creation, You may submit it to Company separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which You are personally aware, and conspicuously marking the work as "Submitted on behalf of a third-party: \[named here\]". + +**8.** You agree to notify Company of any facts or circumstances of which You become aware that would make these representations inaccurate in any respect. + +**9. No Obligation to Use Contributions.** Company is not obligated to accept, use, publish, maintain, or include any Contribution. + +**10.** You agree that Company may use, reproduce, modify, distribute, sublicense, and otherwise make available Your Contributions, and derivative works thereof, under any license terms Company chooses, including open source, free software, source-available, commercial, proprietary, or other license terms, without further permission from or payment to You. + +**11. Waiver of Moral Rights.** To the maximum extent permitted by applicable law, You waive, and agree not to assert, any moral rights or similar rights in Your Contributions against Company, recipients of software distributed by Company, or their respective licensees, sublicensees, successors, or assigns. To the extent such rights cannot be waived, You agree not to exercise them in a manner that interferes with the licenses or rights granted under this Agreement. + +**12. Governing Law.** This Agreement is governed by and construed in accordance with the laws of the State of California, without regard to its conflict of laws provisions. The parties agree that the state and federal courts located in San Francisco County, California will have exclusive jurisdiction over any dispute arising out of or relating to this Agreement, and each party consents to personal jurisdiction and venue in those courts. + +**13. Assignment; Successors and Assigns.** Company may assign this Agreement and the licenses and rights granted herein, in whole or in part, without notice to or consent from You, including in connection with a merger, acquisition, corporate reorganization, financing, or sale of all or substantially all of Company's assets or of the assets relating to the Work. This Agreement will bind and inure to the benefit of the parties and their respective successors and permitted assigns, and the licenses granted by You are intended to survive and continue in full force for the benefit of any such successor or assign. + +**14. Electronic Submission.** The simplest way to accept this Agreement is through our automated CLA assistant on GitHub. When you open your first pull request to a SuperDoc repository, the CLA assistant will post a comment with a link to this Agreement and the acceptance phrase to use. Follow the link, review the terms, and confirm your acceptance by replying to the pull request with that phrase. Your acceptance is recorded against your GitHub username, and you will only be asked once. Company may maintain records of Your electronic acceptance, including Your GitHub username, name, email address, timestamp of acceptance, version of this Agreement accepted, and related repository or organization information. Confirming electronically has the same legal effect as signing this Agreement by hand. + +**Offline signing.** If you are unable to use the GitHub CLA assistant, email us at [legal@superdoc.dev](mailto:legal@superdoc.dev) and we will arrange an alternative way for you to sign. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 868fcd5984..9a4e4254a9 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -121,7 +121,7 @@ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity). -[homepage]: https://github.com/superdoc-dev/superdoc/ +[homepage]: https://github.com/superdoc/docx-editor/ For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e41f86aac0..ed619e4295 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,6 +5,7 @@ Thank you for your interest in contributing to SuperDoc! Whether you're fixing a ## Table of Contents - [Ways to Contribute](#ways-to-contribute) +- [Contributor License Agreement](#contributor-license-agreement) - [Architecture Overview](#architecture-overview) - [Contribution Areas](#contribution-areas) - [Your First PR](#your-first-pr) @@ -19,7 +20,7 @@ Thank you for your interest in contributing to SuperDoc! Whether you're fixing a Contributing isn't just about writing code. Here are several ways you can help: **Report bugs with reproduction files** -Open a .docx in SuperDoc and compare it with Microsoft Word. If something looks different, [open an issue](https://github.com/superdoc-dev/superdoc/issues/new?template=bug-report.yml) with the file attached. Good bug reports with reproduction files are incredibly valuable. +Open a .docx in SuperDoc and compare it with Microsoft Word. If something looks different, [open an issue](https://github.com/superdoc/docx-editor/issues/new?template=bug-report.yml) with the file attached. Good bug reports with reproduction files are incredibly valuable. **Improve documentation** Our docs live in `apps/docs/` ([docs.superdoc.dev](https://docs.superdoc.dev)) and are built with Mintlify. Fix typos, add code examples, improve explanations, or write guides. Run `pnpm run dev:docs` to preview locally. Documentation PRs are always welcome and a great way to get started. @@ -31,11 +32,19 @@ Create example projects showing SuperDoc with different frameworks (Next.js, Nux Write unit tests or behavior tests for existing features. Better test coverage helps everyone. **Fix bugs and implement features** -Check our [good first issues](https://github.com/superdoc-dev/superdoc/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) for approachable tasks, or [help wanted](https://github.com/superdoc-dev/superdoc/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) for meatier items. +Check our [good first issues](https://github.com/superdoc/docx-editor/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) for approachable tasks, or [help wanted](https://github.com/superdoc/docx-editor/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) for meatier items. **Help the community** Answer questions on [Discord](https://discord.gg/wjMccuygvy). +## Contributor License Agreement + +Before we can merge your first pull request, you'll need to agree to the SuperDoc [Contributor License Agreement](CLA.md) (CLA). It applies to any contribution to a SuperDoc repository, including code, documentation, and examples. You keep ownership of your work; the CLA gives SuperDoc the rights it needs to include, maintain, and distribute your contribution under the project's open source and commercial licenses. You only sign once, and it then covers every future contribution from the same GitHub account. + +**How to sign.** We're rolling out an automated GitHub CLA assistant that will post instructions on your first pull request. Review the agreement, then reply to the pull request with the acceptance phrase shown by the assistant. Until it's available, email [legal@superdoc.dev](mailto:legal@superdoc.dev) and we'll arrange a way for you to sign. + +**Contributing for your employer.** If your employer may own work you create, make sure you have permission to contribute, or ask your employer to sign a Corporate CLA with us. Contact [legal@superdoc.dev](mailto:legal@superdoc.dev) to arrange it. See Section 4 of the [CLA](CLA.md). + ## Architecture Overview SuperDoc is a document editing and rendering library for the web. Understanding its architecture will help you find the right place to make changes. @@ -102,7 +111,7 @@ The converter (`super-converter/`) parses and stores only what is explicitly in ## Contribution Areas -These are areas where community contributions are especially welcome. Check [issues labeled `good first issue`](https://github.com/superdoc-dev/superdoc/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) for specific tasks. +These are areas where community contributions are especially welcome. Check [issues labeled `good first issue`](https://github.com/superdoc/docx-editor/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) for specific tasks. | Area | Difficulty | Where to Look | What to Do | |------|-----------|---------------|------------| @@ -120,7 +129,7 @@ Here's a step-by-step walkthrough to make your first contribution: ### 1. Find something to work on -- Browse [good first issues](https://github.com/superdoc-dev/superdoc/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) +- Browse [good first issues](https://github.com/superdoc/docx-editor/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) - Or pick from the [contribution areas](#contribution-areas) above - Comment on the issue to let others know you're working on it @@ -199,7 +208,7 @@ Open a PR against the `main` branch. In the description: - Include screenshots for visual changes - Add a test plan if applicable -CI will run automatically. A maintainer will review your PR and provide feedback. +CI will run automatically. A maintainer will review your PR and provide feedback. On your first pull request you'll also need to sign the [Contributor License Agreement](#contributor-license-agreement) before it can be merged. ## Development Setup @@ -360,7 +369,7 @@ This project and everyone participating in it are governed by our [Code of Condu ### Recognition -We value every contribution. Community contributors are featured in our [README](https://github.com/superdoc-dev/superdoc#community-contributors) and recognized on Discord. +We value every contribution. Community contributors are featured in our [README](https://github.com/superdoc/docx-editor#community-contributors) and recognized on Discord. --- diff --git a/README.md b/README.md index 84be6ca36a..705367d033 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,9 @@
- + - +
@@ -128,11 +128,11 @@ Starter projects to get you running quickly: ## Roadmap -See the [SuperDoc roadmap](https://github.com/superdoc-dev/superdoc/issues/1982) for what's coming next. DOCX import/export fidelity is always a top priority. +See the [SuperDoc roadmap](https://github.com/superdoc/docx-editor/issues/1982) for what's coming next. DOCX import/export fidelity is always a top priority. ## Contributing -Check the [issue tracker](https://github.com/superdoc-dev/superdoc/issues) for open issues, or read the [Contributing Guide](CONTRIBUTING.md) to get started. Bug reports with reproduction .docx files are especially valuable. +Check the [issue tracker](https://github.com/superdoc/docx-editor/issues) for open issues, or read the [Contributing Guide](CONTRIBUTING.md) to get started. Bug reports with reproduction .docx files are especially valuable. ## Community diff --git a/SECURITY.md b/SECURITY.md index b738148616..b9a6db9b4a 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -12,7 +12,8 @@ We actively support and patch the latest minor version of SuperDoc. If you believe you’ve found a security issue in SuperDoc, please **do not open a public GitHub issue**. -Instead, report it privately through [GitHub’s Security Advisories](https://github.com/superdoc-dev/superdoc/security/advisories/new). +Instead, report it privately through [GitHub’s Security Advisories](https://github.com/superdoc/docx-editor/security/advisories/new). + This ensures the report is only visible to maintainers. If you prefer email, you can also contact us at: **q@superdoc.dev** diff --git a/apps/cli/README.md b/apps/cli/README.md index 3d66c2623d..221d8dada3 100644 --- a/apps/cli/README.md +++ b/apps/cli/README.md @@ -389,7 +389,7 @@ Error: ## Part of SuperDoc -This CLI is part of [SuperDoc](https://github.com/superdoc-dev/superdoc) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server. +This CLI is part of [SuperDoc](https://github.com/superdoc/docx-editor) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server. ## License diff --git a/apps/create/src/templates.ts b/apps/create/src/templates.ts index 8b243cf886..a7cba8f434 100644 --- a/apps/create/src/templates.ts +++ b/apps/create/src/templates.ts @@ -257,6 +257,6 @@ superdoc save && superdoc close - React guide: https://docs.superdoc.dev/getting-started/frameworks/react - Document Engine: https://docs.superdoc.dev/document-engine/overview - MCP server: https://docs.superdoc.dev/ai/mcp/overview -- Examples: https://github.com/superdoc-dev/superdoc/tree/main/examples +- Examples: https://github.com/superdoc/docx-editor/tree/main/examples `; } diff --git a/apps/docs/advanced/headless-toolbar-examples.mdx b/apps/docs/advanced/headless-toolbar-examples.mdx index 9601e84a02..26bf3ae7fa 100644 --- a/apps/docs/advanced/headless-toolbar-examples.mdx +++ b/apps/docs/advanced/headless-toolbar-examples.mdx @@ -42,7 +42,7 @@ Vertical sidebar panel. Navigation drawer with expansion panels grouping related Vue + Vuetify example @@ -83,7 +83,7 @@ Fixed bottom bar. Compact, mobile-inspired layout with Svelte 5 runes for reacti Svelte + Tailwind example @@ -125,7 +125,7 @@ For font family, font size, and other selection commands, use a button menu that Vanilla JS example diff --git a/apps/docs/advanced/supereditor/configuration.mdx b/apps/docs/advanced/supereditor/configuration.mdx index 0aad0dbe43..71bad3c7bf 100644 --- a/apps/docs/advanced/supereditor/configuration.mdx +++ b/apps/docs/advanced/supereditor/configuration.mdx @@ -219,7 +219,7 @@ const editor = await Editor.open(docxFile, { Convert DOCX files server-side without a browser using JSDOM. - See the [server-side AI redlining example](https://github.com/superdoc-dev/superdoc/tree/main/examples/document-engine/ai-redlining) + See the [server-side AI redlining example](https://github.com/superdoc/docx-editor/tree/main/examples/document-engine/ai-redlining) for a complete implementation. diff --git a/apps/docs/ai/agents/custom-actions.mdx b/apps/docs/ai/agents/custom-actions.mdx index a8aa783fd1..c0546d6e22 100644 --- a/apps/docs/ai/agents/custom-actions.mdx +++ b/apps/docs/ai/agents/custom-actions.mdx @@ -155,7 +155,7 @@ The `superdoc-custom-actions` skill guides Claude Code and Codex through choosin Install it from your application's root directory: ```bash -npx skills add superdoc-dev/superdoc/packages/sdk/skills/superdoc-custom-actions --copy +npx skills add superdoc/docx-editor/packages/sdk/skills/superdoc-custom-actions --copy ``` Then ask your coding agent for the operation you need: diff --git a/apps/docs/ai/agents/integrations.mdx b/apps/docs/ai/agents/integrations.mdx index 6e9dfa9e01..9ea4f4f7b3 100644 --- a/apps/docs/ai/agents/integrations.mdx +++ b/apps/docs/ai/agents/integrations.mdx @@ -632,7 +632,7 @@ A few things to get right: - **Buffer deltas.** Inserting on every token causes one document mutation per token, which floods the layout engine and undo stack. Flush on a timer (~150ms) or whenever a newline arrives. - **Abort on unmount and Stop.** Tie an `AbortController` to the fetch and call it from your cleanup. The server should also abort upstream when the client disconnects so neither side burns tokens. -Full working example: [examples/ai/streaming](https://github.com/superdoc-dev/superdoc/tree/main/examples/ai/streaming). +Full working example: [examples/ai/streaming](https://github.com/superdoc/docx-editor/tree/main/examples/ai/streaming). ## Related diff --git a/apps/docs/ai/agents/skills.mdx b/apps/docs/ai/agents/skills.mdx index fcee99c829..39ca8d2ef4 100644 --- a/apps/docs/ai/agents/skills.mdx +++ b/apps/docs/ai/agents/skills.mdx @@ -12,7 +12,7 @@ SuperDoc skills are reusable instruction bundles for coding agents. They provide The `superdoc-custom-actions` skill helps Claude Code and Codex define, wire, and test custom LLM actions. ```bash -npx skills add superdoc-dev/superdoc/packages/sdk/skills/superdoc-custom-actions --copy +npx skills add superdoc/docx-editor/packages/sdk/skills/superdoc-custom-actions --copy ``` See [Custom actions](/ai/agents/custom-actions) for the SDK workflow, execution tiers, and installation details. diff --git a/apps/docs/api-reference/introduction.mdx b/apps/docs/api-reference/introduction.mdx index 20b9c95dae..e61d95ca3e 100644 --- a/apps/docs/api-reference/introduction.mdx +++ b/apps/docs/api-reference/introduction.mdx @@ -70,4 +70,4 @@ Your Word documents work because SuperDoc was built for Word documents. Not mark ## Resources **[Status Page](https://status.superdoc.dev)** - Uptime and incidents -**[GitHub](https://github.com/superdoc-dev/superdoc)** - Examples and issues +**[GitHub](https://github.com/superdoc/docx-editor)** - Examples and issues diff --git a/apps/docs/docs.json b/apps/docs/docs.json index 8b9252f7e9..f556b8beb8 100644 --- a/apps/docs/docs.json +++ b/apps/docs/docs.json @@ -291,7 +291,7 @@ "links": [ { "type": "github", - "href": "https://github.com/superdoc-dev/superdoc" + "href": "https://github.com/superdoc/docx-editor" }, { "type": "discord", @@ -301,7 +301,7 @@ ] }, "banner": { - "content": "**Bring your own editor UI.** Use SuperDoc as the document engine underneath. [Read the announcement \u2192](https://www.superdoc.dev/changelog/2026-05-01-bring-your-own-editor)", + "content": "**SuperDoc 2 is available.** You're viewing the SuperDoc 1 documentation. [Open the SuperDoc 2 docs \u2192](https://docs.superdoc.dev/)", "dismissible": true }, "redirects": [ diff --git a/apps/docs/document-api/features/content-controls.mdx b/apps/docs/document-api/features/content-controls.mdx index ee7a34850d..8868259a4a 100644 --- a/apps/docs/document-api/features/content-controls.mdx +++ b/apps/docs/document-api/features/content-controls.mdx @@ -33,7 +33,7 @@ for (const { target } of items) { } ``` -Smallest copy-pasteable form: [`examples/document-api/content-controls/tagged-inline-text`](https://github.com/superdoc-dev/superdoc/tree/main/examples/document-api/content-controls/tagged-inline-text). +Smallest copy-pasteable form: [`examples/document-api/content-controls/tagged-inline-text`](https://github.com/superdoc/docx-editor/tree/main/examples/document-api/content-controls/tagged-inline-text). ### Reusable sections: tagged blocks that know their version @@ -68,7 +68,7 @@ for (const control of items) { Or keep clauses **single-use and governed**: a clause is either in the contract or available to add from a library, and it appears once. Track inclusion by querying `contentControls.list` for the `sectionId` instead of comparing versions, and lock each placed clause (`contentLocked`) so its prose is fixed. A clause can also carry nested smart fields - inline controls inside the block - that fill from one place. -The [`demos/contract-templates`](https://github.com/superdoc-dev/superdoc/tree/main/demos/contract-templates) runtime composes the single-use approach: a clause library that inserts locked block clauses (some with nested fields), each filled by tag from a form. +The [`demos/contract-templates`](https://github.com/superdoc/docx-editor/tree/main/demos/contract-templates) runtime composes the single-use approach: a clause library that inserts locked block clauses (some with nested fields), each filled by tag from a form. ## Why `tag`, not `nodeId` @@ -156,10 +156,10 @@ For runtime synchronization with backing data, drive the control directly with ` ## Next steps - + The smallest content-control workflow. `create.contentControl` + `selectByTag` + `text.setValue`. - + Smart fields and versioned sections composed into one runtime app. diff --git a/apps/docs/document-api/migration.mdx b/apps/docs/document-api/migration.mdx index daaae7b46d..7991a1ecd0 100644 --- a/apps/docs/document-api/migration.mdx +++ b/apps/docs/document-api/migration.mdx @@ -175,7 +175,7 @@ superdoc.on('editorCreate', ({ editor }) => { ## Driving custom React UI -If your migration is also moving the UI side off legacy chains, the destination is `superdoc/ui/react`. Replace `superdoc.on('editor-update', ...)` loops and `useState(superdoc.activeEditor.commands.X)` patterns with the typed hooks: `useSuperDocCommand`, `useSuperDocSelection`, `useSuperDocComments`, `useSuperDocTrackChanges`, `useSuperDocDocument`. See [Custom UI](/editor/custom-ui/overview) for the full surface and the [reference workspace on GitHub](https://github.com/superdoc-dev/superdoc/tree/main/demos/editor/custom-ui). +If your migration is also moving the UI side off legacy chains, the destination is `superdoc/ui/react`. Replace `superdoc.on('editor-update', ...)` loops and `useState(superdoc.activeEditor.commands.X)` patterns with the typed hooks: `useSuperDocCommand`, `useSuperDocSelection`, `useSuperDocComments`, `useSuperDocTrackChanges`, `useSuperDocDocument`. See [Custom UI](/editor/custom-ui/overview) for the full surface and the [reference workspace on GitHub](https://github.com/superdoc/docx-editor/tree/main/demos/editor/custom-ui). ## Full reference @@ -183,6 +183,6 @@ See [Available Operations](/document-api/available-operations) for the complete ## Need help? -- [GitHub Issues](https://github.com/superdoc-dev/superdoc/issues) +- [GitHub Issues](https://github.com/superdoc/docx-editor/issues) - [Discord Community](https://discord.com/invite/b9UuaZRyaB) - Email: q@superdoc.dev diff --git a/apps/docs/editor/built-in-ui/comments.mdx b/apps/docs/editor/built-in-ui/comments.mdx index 1e332f903e..952c8d5d3f 100644 --- a/apps/docs/editor/built-in-ui/comments.mdx +++ b/apps/docs/editor/built-in-ui/comments.mdx @@ -746,7 +746,7 @@ onCommentsUpdate: ({ type, comment, meta }) => { Runnable example: threaded comments with resolve workflow and event log diff --git a/apps/docs/editor/built-in-ui/toolbar.mdx b/apps/docs/editor/built-in-ui/toolbar.mdx index 28554c3dc9..25ae91ea56 100644 --- a/apps/docs/editor/built-in-ui/toolbar.mdx +++ b/apps/docs/editor/built-in-ui/toolbar.mdx @@ -611,7 +611,7 @@ const superdoc = new SuperDoc({ Runnable example: custom button groups, excluded items, and a custom clear-formatting button diff --git a/apps/docs/editor/built-in-ui/track-changes.mdx b/apps/docs/editor/built-in-ui/track-changes.mdx index 9b50954b28..914b8e924f 100644 --- a/apps/docs/editor/built-in-ui/track-changes.mdx +++ b/apps/docs/editor/built-in-ui/track-changes.mdx @@ -482,7 +482,7 @@ superdoc.activeEditor.commands.toggleTrackChangesShowFinal(); Runnable example: mode switching, accept and reject, comments sidebar, DOCX import and export. diff --git a/apps/docs/editor/collaboration/quickstart.mdx b/apps/docs/editor/collaboration/quickstart.mdx index bf3a338a13..838bd63b8a 100644 --- a/apps/docs/editor/collaboration/quickstart.mdx +++ b/apps/docs/editor/collaboration/quickstart.mdx @@ -273,7 +273,7 @@ const client = createClient({ Complete source code on GitHub diff --git a/apps/docs/editor/custom-ui/comments.mdx b/apps/docs/editor/custom-ui/comments.mdx index 211e8dd68c..17b29712dc 100644 --- a/apps/docs/editor/custom-ui/comments.mdx +++ b/apps/docs/editor/custom-ui/comments.mdx @@ -124,7 +124,7 @@ export function CommentComposer({ onPosted }: { onPosted(): void }) { `captured.target` is the same shape `editor.doc.comments.create({ target })` accepts. `quotedText` gives you the anchored text for previewing in the composer. -See the [selection capture example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/custom-ui/selection-capture) for a runnable vanilla version: open a composer, move focus to a textarea, and post against the original selection. +See the [selection capture example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/custom-ui/selection-capture) for a runnable vanilla version: open a composer, move focus to a textarea, and post against the original selection. ### When the built-in bubble opens your composer diff --git a/apps/docs/editor/custom-ui/content-controls.mdx b/apps/docs/editor/custom-ui/content-controls.mdx index 2ff5e09fce..54c34f66e7 100644 --- a/apps/docs/editor/custom-ui/content-controls.mdx +++ b/apps/docs/editor/custom-ui/content-controls.mdx @@ -95,6 +95,6 @@ Putting it together into a fillable template, the way the contract-templates dem ## See also -- [Contract templates demo](https://github.com/superdoc-dev/superdoc/tree/main/demos/contract-templates) - a full custom contract-template UI: a field + clause library, custom SDT styling, locks, form-driven values, events, insert, and export. +- [Contract templates demo](https://github.com/superdoc/docx-editor/tree/main/demos/contract-templates) - a full custom contract-template UI: a field + clause library, custom SDT styling, locks, form-driven values, events, insert, and export. - [Configuration](/editor/superdoc/configuration) - the `modules.contentControls.chrome` option. - [Document API: content controls](/document-api/features/content-controls) - read and change controls. diff --git a/apps/docs/editor/custom-ui/context-menu.mdx b/apps/docs/editor/custom-ui/context-menu.mdx index 9cd2b95a88..f71721b572 100644 --- a/apps/docs/editor/custom-ui/context-menu.mdx +++ b/apps/docs/editor/custom-ui/context-menu.mdx @@ -151,7 +151,7 @@ If you'd rather suppress the native menu in the empty case too, call `event.prev ## Worked example -The reference workspace at [`demos/editor/custom-ui`](https://github.com/superdoc-dev/superdoc/tree/main/demos/editor/custom-ui) wires the full pattern end-to-end. The four registrations below mirror the demo's `ContextMenuRegistrations.tsx`. They cover the three subjects the menu can act on: an entity, the selection, or the click point. +The reference workspace at [`demos/editor/custom-ui`](https://github.com/superdoc/docx-editor/tree/main/demos/editor/custom-ui) wires the full pattern end-to-end. The four registrations below mirror the demo's `ContextMenuRegistrations.tsx`. They cover the three subjects the menu can act on: an entity, the selection, or the click point. diff --git a/apps/docs/editor/custom-ui/custom-commands.mdx b/apps/docs/editor/custom-ui/custom-commands.mdx index f06a85643f..a23515fbbb 100644 --- a/apps/docs/editor/custom-ui/custom-commands.mdx +++ b/apps/docs/editor/custom-ui/custom-commands.mdx @@ -59,7 +59,7 @@ function InsertClauseButton() { } ``` -See the [configurable toolbar example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/custom-ui/configurable-toolbar) for a runnable vanilla version that registers an `example.insertClause` command alongside the built-in bold / italic / underline buttons. +See the [configurable toolbar example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/custom-ui/configurable-toolbar) for a runnable vanilla version that registers an `example.insertClause` command alongside the built-in bold / italic / underline buttons. ## Naming diff --git a/apps/docs/editor/custom-ui/overview.mdx b/apps/docs/editor/custom-ui/overview.mdx index a6ac6eb02d..a689c4b5a9 100644 --- a/apps/docs/editor/custom-ui/overview.mdx +++ b/apps/docs/editor/custom-ui/overview.mdx @@ -86,4 +86,4 @@ The controller surfaces this split directly. The toolbar reads `state.selection` ## Worked example -The [reference workspace on GitHub](https://github.com/superdoc-dev/superdoc/tree/main/demos/editor/custom-ui) ships a full app on these surfaces: toolbar, custom command with keyboard shortcut, floating bubble menu, right-click context menu, comments sidebar with reply threads, tracked-change review, selection capture / restore, DOCX export and reimport. +The [reference workspace on GitHub](https://github.com/superdoc/docx-editor/tree/main/demos/editor/custom-ui) ships a full app on these surfaces: toolbar, custom command with keyboard shortcut, floating bubble menu, right-click context menu, comments sidebar with reply threads, tracked-change review, selection capture / restore, DOCX export and reimport. diff --git a/apps/docs/editor/custom-ui/selection-and-viewport.mdx b/apps/docs/editor/custom-ui/selection-and-viewport.mdx index b0db6bfd5e..986c477a94 100644 --- a/apps/docs/editor/custom-ui/selection-and-viewport.mdx +++ b/apps/docs/editor/custom-ui/selection-and-viewport.mdx @@ -72,7 +72,7 @@ export function LinkComposer({ onPosted }: { onPosted(): void }) { `capture()` returns `null` when the selection has no positional target. Captures are deep-frozen at runtime, so the consumer copy can't mutate the controller's memo. -See the [selection capture example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/custom-ui/selection-capture) for a runnable vanilla version showing why a captured selection survives composer focus changes. +See the [selection capture example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/custom-ui/selection-capture) for a runnable vanilla version showing why a captured selection survives composer focus changes. ## Restore the visible selection diff --git a/apps/docs/editor/custom-ui/toolbar-and-commands.mdx b/apps/docs/editor/custom-ui/toolbar-and-commands.mdx index 84140402bd..edb0da4f3b 100644 --- a/apps/docs/editor/custom-ui/toolbar-and-commands.mdx +++ b/apps/docs/editor/custom-ui/toolbar-and-commands.mdx @@ -67,7 +67,7 @@ function ToolbarButton({ id, label, title }: { id: string; label: string; title: } ``` -See the [configurable toolbar example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/custom-ui/configurable-toolbar) for a runnable vanilla version: a config-driven button row that subscribes per-id and reads `disabled` / `active` straight from the controller. +See the [configurable toolbar example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/custom-ui/configurable-toolbar) for a runnable vanilla version: a config-driven button row that subscribes per-id and reads `disabled` / `active` straight from the controller. ## Commands with payloads diff --git a/apps/docs/editor/spell-check/custom-provider.mdx b/apps/docs/editor/spell-check/custom-provider.mdx index 4384ad450d..5435cb062f 100644 --- a/apps/docs/editor/spell-check/custom-provider.mdx +++ b/apps/docs/editor/spell-check/custom-provider.mdx @@ -157,5 +157,5 @@ If spelling underlines do not appear: If you want a concrete starting point, see the repo examples: -- [Typo.js example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/spell-check/typo-js) - Minimal local spell-check provider -- [LanguageTool self-hosted example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/spell-check/language-tool-self-hosted) - Minimal self-hosted HTTP provider +- [Typo.js example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/spell-check/typo-js) - Minimal local spell-check provider +- [LanguageTool self-hosted example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/spell-check/language-tool-self-hosted) - Minimal self-hosted HTTP provider diff --git a/apps/docs/editor/spell-check/overview.mdx b/apps/docs/editor/spell-check/overview.mdx index 917bce10ce..387b4474ee 100644 --- a/apps/docs/editor/spell-check/overview.mdx +++ b/apps/docs/editor/spell-check/overview.mdx @@ -105,14 +105,14 @@ new SuperDoc({ SuperDoc does not include a spell-check engine. You bring your own. -- [Typo.js](https://github.com/cfinke/Typo.js) - local browser spell check. Good for lightweight demos, privacy-sensitive flows, and no-backend setups. See the [Typo.js example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/spell-check/typo-js). -- [LanguageTool](https://languagetool.org/) - API or self-hosted spell check with broader language support. See the [LanguageTool self-hosted example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/spell-check/language-tool-self-hosted). +- [Typo.js](https://github.com/cfinke/Typo.js) - local browser spell check. Good for lightweight demos, privacy-sensitive flows, and no-backend setups. See the [Typo.js example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/spell-check/typo-js). +- [LanguageTool](https://languagetool.org/) - API or self-hosted spell check with broader language support. See the [LanguageTool self-hosted example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/spell-check/language-tool-self-hosted). - [hunspell-asm](https://www.npmjs.com/package/hunspell-asm) - local WebAssembly Hunspell. A stronger on-device option than pure-JS dictionaries. ## Examples -- [Typo.js example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/spell-check/typo-js) - browser-only, no backend -- [LanguageTool self-hosted example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/spell-check/language-tool-self-hosted) - HTTP spell check with Docker +- [Typo.js example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/spell-check/typo-js) - browser-only, no backend +- [LanguageTool self-hosted example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/spell-check/language-tool-self-hosted) - HTTP spell check with Docker ## Next steps diff --git a/apps/docs/editor/superdoc/configuration.mdx b/apps/docs/editor/superdoc/configuration.mdx index 23c2143fc3..9842e176ec 100644 --- a/apps/docs/editor/superdoc/configuration.mdx +++ b/apps/docs/editor/superdoc/configuration.mdx @@ -112,7 +112,7 @@ new SuperDoc({ - `viewing` - Read-only display - `suggesting` - Track changes enabled - See the [Track Changes module](/editor/built-in-ui/track-changes) for accept/reject commands, the Document API, and configuration. The [runnable example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/built-in-ui/track-changes) shows a complete workflow. + See the [Track Changes module](/editor/built-in-ui/track-changes) for accept/reject commands, the Document API, and configuration. The [runnable example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/built-in-ui/track-changes) shows a complete workflow. @@ -625,7 +625,7 @@ new SuperDoc({ Minimal React example for fit-width zoom with current zoom and viewport metrics. diff --git a/apps/docs/getting-started/ai-agents.mdx b/apps/docs/getting-started/ai-agents.mdx index 04fc77d7b7..cdbca907f7 100644 --- a/apps/docs/getting-started/ai-agents.mdx +++ b/apps/docs/getting-started/ai-agents.mdx @@ -174,7 +174,7 @@ https://docs.superdoc.dev/llms-full.txt // Complete documentation Node.js script: open DOCX, LLM reviews, export redlined document diff --git a/apps/docs/getting-started/frameworks/angular.mdx b/apps/docs/getting-started/frameworks/angular.mdx index c7d7294064..db918ea39a 100644 --- a/apps/docs/getting-started/frameworks/angular.mdx +++ b/apps/docs/getting-started/frameworks/angular.mdx @@ -137,4 +137,4 @@ export class UploadEditorComponent { - [Configuration](/editor/superdoc/configuration) - Full configuration options - [Methods](/editor/superdoc/methods) - All available methods -- [Angular Example](https://github.com/superdoc-dev/superdoc/tree/main/examples/getting-started/angular) - Working example on GitHub +- [Angular Example](https://github.com/superdoc/docx-editor/tree/main/examples/getting-started/angular) - Working example on GitHub diff --git a/apps/docs/getting-started/frameworks/laravel.mdx b/apps/docs/getting-started/frameworks/laravel.mdx index b003b9cbf6..bd7cd3fb83 100644 --- a/apps/docs/getting-started/frameworks/laravel.mdx +++ b/apps/docs/getting-started/frameworks/laravel.mdx @@ -130,7 +130,7 @@ This runs `php artisan serve` (port 8000) and Vite's dev server together. Open [ All configuration options - + Working Laravel example on GitHub diff --git a/apps/docs/getting-started/frameworks/nextjs.mdx b/apps/docs/getting-started/frameworks/nextjs.mdx index 086ab7cf94..8d435f624e 100644 --- a/apps/docs/getting-started/frameworks/nextjs.mdx +++ b/apps/docs/getting-started/frameworks/nextjs.mdx @@ -91,10 +91,10 @@ export default function RootLayout({ children }) { Real-time collaboration - + React + TypeScript example - + Next.js SSR integration diff --git a/apps/docs/getting-started/frameworks/nuxt.mdx b/apps/docs/getting-started/frameworks/nuxt.mdx index 029f9c6549..bb3c24d2b8 100644 --- a/apps/docs/getting-started/frameworks/nuxt.mdx +++ b/apps/docs/getting-started/frameworks/nuxt.mdx @@ -158,7 +158,7 @@ const handleFile = (e: Event) => { All configuration options - + Working Nuxt example on GitHub diff --git a/apps/docs/getting-started/frameworks/react.mdx b/apps/docs/getting-started/frameworks/react.mdx index cca910df78..d715216d6c 100644 --- a/apps/docs/getting-started/frameworks/react.mdx +++ b/apps/docs/getting-started/frameworks/react.mdx @@ -122,10 +122,10 @@ function FileEditor() { Real-time collaboration setup - + React + TypeScript example - + Next.js SSR integration diff --git a/apps/docs/getting-started/frameworks/solid.mdx b/apps/docs/getting-started/frameworks/solid.mdx index 06846a03c9..c210d66a05 100644 --- a/apps/docs/getting-started/frameworks/solid.mdx +++ b/apps/docs/getting-started/frameworks/solid.mdx @@ -126,4 +126,4 @@ function FileEditor() { - [React Integration](/getting-started/frameworks/react) - React setup - [API Reference](/editor/superdoc/configuration) - Configuration options -- [Examples](https://github.com/superdoc-dev/superdoc/tree/main/examples/getting-started/solid) - Working examples +- [Examples](https://github.com/superdoc/docx-editor/tree/main/examples/getting-started/solid) - Working examples diff --git a/apps/docs/getting-started/frameworks/vue.mdx b/apps/docs/getting-started/frameworks/vue.mdx index 16db3208c6..646ed82470 100644 --- a/apps/docs/getting-started/frameworks/vue.mdx +++ b/apps/docs/getting-started/frameworks/vue.mdx @@ -203,4 +203,4 @@ defineExpose({ - [React Integration](/getting-started/frameworks/react) - React setup - [API Reference](/editor/superdoc/configuration) - Configuration options -- [Examples](https://github.com/superdoc-dev/superdoc/tree/main/examples/getting-started/vue) - Working examples \ No newline at end of file +- [Examples](https://github.com/superdoc/docx-editor/tree/main/examples/getting-started/vue) - Working examples \ No newline at end of file diff --git a/apps/docs/getting-started/introduction.mdx b/apps/docs/getting-started/introduction.mdx index 0a4baa56ed..4c6755c3e5 100644 --- a/apps/docs/getting-started/introduction.mdx +++ b/apps/docs/getting-started/introduction.mdx @@ -40,7 +40,7 @@ SuperDoc renders and edits DOCX files directly in the browser. Built on OOXML: n Working demos and templates diff --git a/apps/docs/getting-started/quickstart.mdx b/apps/docs/getting-started/quickstart.mdx index cada99c407..d06abc79aa 100644 --- a/apps/docs/getting-started/quickstart.mdx +++ b/apps/docs/getting-started/quickstart.mdx @@ -150,7 +150,7 @@ For HTML, JSON, or Markdown output, see [Import and export](/getting-started/imp React, Vue, Nuxt, Angular, Laravel, Vanilla JS - + Working demos on GitHub diff --git a/apps/docs/guides/collaboration/hocuspocus.mdx b/apps/docs/guides/collaboration/hocuspocus.mdx index 8fe3944eb3..197158b41f 100644 --- a/apps/docs/guides/collaboration/hocuspocus.mdx +++ b/apps/docs/guides/collaboration/hocuspocus.mdx @@ -348,7 +348,7 @@ Server.configure({ Complete source code diff --git a/apps/docs/guides/collaboration/liveblocks.mdx b/apps/docs/guides/collaboration/liveblocks.mdx index da8cf1d6f0..e370d887f3 100644 --- a/apps/docs/guides/collaboration/liveblocks.mdx +++ b/apps/docs/guides/collaboration/liveblocks.mdx @@ -231,7 +231,7 @@ useEffect(() => { Complete source code diff --git a/apps/docs/guides/collaboration/superdoc-yjs.mdx b/apps/docs/guides/collaboration/superdoc-yjs.mdx index a620a10886..c465871bcd 100644 --- a/apps/docs/guides/collaboration/superdoc-yjs.mdx +++ b/apps/docs/guides/collaboration/superdoc-yjs.mdx @@ -366,7 +366,7 @@ fastify.get('/health', (request, reply) => { Complete working example with a Yjs server @@ -374,7 +374,7 @@ fastify.get('/health', (request, reply) => { Server-side document operations alongside the realtime layer diff --git a/apps/docs/guides/collaboration/yhub.mdx b/apps/docs/guides/collaboration/yhub.mdx index dd5906ee6e..c3d2c54f6a 100644 --- a/apps/docs/guides/collaboration/yhub.mdx +++ b/apps/docs/guides/collaboration/yhub.mdx @@ -67,7 +67,7 @@ For the bundled local server, `params.token` is the shared secret and `params.us ## Server -Running a YHub server requires Redis and Postgres. See the [bundled local server example](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/collaboration/backends/fastapi/yjs-hub) for a working setup with Docker Compose. Use it as a starting point, not as a production deployment. +Running a YHub server requires Redis and Postgres. See the [bundled local server example](https://github.com/superdoc/docx-editor/tree/main/examples/editor/collaboration/backends/fastapi/yjs-hub) for a working setup with Docker Compose. Use it as a starting point, not as a production deployment. For production, follow [YHub's own setup guide](https://github.com/yjs/yhub) and pair it with your existing auth, persistence, and ops tooling. @@ -77,7 +77,7 @@ For production, follow [YHub's own setup guide](https://github.com/yjs/yhub) and Complete React + Vite client paired with the bundled local server @@ -85,7 +85,7 @@ For production, follow [YHub's own setup guide](https://github.com/yjs/yhub) and Local Node + Redis + Postgres reference for development diff --git a/apps/docs/guides/migration/prosemirror.mdx b/apps/docs/guides/migration/prosemirror.mdx index f0451bc581..72e4dc05f0 100644 --- a/apps/docs/guides/migration/prosemirror.mdx +++ b/apps/docs/guides/migration/prosemirror.mdx @@ -97,10 +97,10 @@ If you need features SuperDoc doesn't provide: - Check the [Document API reference](/document-api/overview): 300+ operations - Use the [SDK](/document-engine/sdks) or [CLI](/document-engine/cli) for backend workflows -- Request features via [GitHub issues](https://github.com/superdoc-dev/superdoc/issues) +- Request features via [GitHub issues](https://github.com/superdoc/docx-editor/issues) ## Need help? -- [GitHub Issues](https://github.com/superdoc-dev/superdoc/issues) +- [GitHub Issues](https://github.com/superdoc/docx-editor/issues) - [Discord Community](https://discord.com/invite/b9UuaZRyaB) - Email: q@superdoc.dev diff --git a/apps/docs/llms-full.txt b/apps/docs/llms-full.txt index 551feef4a4..9d8bb384db 100644 --- a/apps/docs/llms-full.txt +++ b/apps/docs/llms-full.txt @@ -289,7 +289,7 @@ If your training data mentions SuperDoc, note these updates: - Website: https://www.superdoc.dev - Documentation: https://docs.superdoc.dev -- GitHub: https://github.com/superdoc-dev/superdoc +- GitHub: https://github.com/superdoc/docx-editor - npm: https://www.npmjs.com/package/superdoc - Discord: https://discord.com/invite/b9UuaZRyaB - Getting started: https://docs.superdoc.dev/getting-started/quickstart @@ -302,7 +302,7 @@ If your training data mentions SuperDoc, note these updates: - CLI: https://docs.superdoc.dev/document-engine/cli - API reference: https://docs.superdoc.dev/api-reference/introduction - React guide: https://docs.superdoc.dev/getting-started/frameworks/react -- Examples: https://github.com/superdoc-dev/superdoc/tree/main/examples +- Examples: https://github.com/superdoc/docx-editor/tree/main/examples ## License diff --git a/apps/docs/llms.txt b/apps/docs/llms.txt index f369f3346a..d496169fdf 100644 --- a/apps/docs/llms.txt +++ b/apps/docs/llms.txt @@ -38,9 +38,9 @@ npm install @superdoc-dev/sdk - API reference (backend): https://docs.superdoc.dev/api-reference/introduction - SDK docs: https://docs.superdoc.dev/document-engine/sdks - CLI: https://docs.superdoc.dev/document-engine/cli -- GitHub: https://github.com/superdoc-dev/superdoc +- GitHub: https://github.com/superdoc/docx-editor - npm: https://www.npmjs.com/package/superdoc -- Examples: https://github.com/superdoc-dev/superdoc/tree/main/examples +- Examples: https://github.com/superdoc/docx-editor/tree/main/examples - Full context: https://docs.superdoc.dev/llms-full.txt ## Layer model (use the right surface) diff --git a/apps/docs/openapi.json b/apps/docs/openapi.json index f2559eb087..6ea33c4d2b 100644 --- a/apps/docs/openapi.json +++ b/apps/docs/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "SuperDoc API", "version": "0.9.0", - "description": "## Quick Start\n\n1 - **Register**: https://api.superdoc.dev/v1/auth/register?email=you@email.com\n\n2 - **Verify**: Check email, then https://api.superdoc.dev/v1/auth/verify?email=you@email.com&code=123456\n\n3 - **Convert**\n```bash\ncurl -X POST https://api.superdoc.dev/v1/convert?from=docx \\\n -H \"Authorization: Bearer YOUR_API_KEY\" \\\n -F \"file=@document.docx\" \\\n -o converted.pdf\n```\n\n\nOr use our Playground:\nhttps://api.superdoc.dev/docs/#tag/documents/post/v1/convert\n\nThat's it! Your DOCX is now a PDF.\n\n---\n\n[Status](https://status.superdoc.dev) • [GitHub](https://github.com/superdoc-dev/superdoc)", + "description": "## Quick Start\n\n1 - **Register**: https://api.superdoc.dev/v1/auth/register?email=you@email.com\n\n2 - **Verify**: Check email, then https://api.superdoc.dev/v1/auth/verify?email=you@email.com&code=123456\n\n3 - **Convert**\n```bash\ncurl -X POST https://api.superdoc.dev/v1/convert?from=docx \\\n -H \"Authorization: Bearer YOUR_API_KEY\" \\\n -F \"file=@document.docx\" \\\n -o converted.pdf\n```\n\n\nOr use our Playground:\nhttps://api.superdoc.dev/docs/#tag/documents/post/v1/convert\n\nThat's it! Your DOCX is now a PDF.\n\n---\n\n[Status](https://status.superdoc.dev) • [GitHub](https://github.com/superdoc/docx-editor)", "contact": { "name": "Support", "email": "api@superdoc.dev", diff --git a/apps/docs/resources/license.mdx b/apps/docs/resources/license.mdx index ad68cf0548..de2e07cb1a 100644 --- a/apps/docs/resources/license.mdx +++ b/apps/docs/resources/license.mdx @@ -9,9 +9,9 @@ For questions about licensing, please contact [q@superdoc.dev](mailto:q@superdoc Contributions are welcome. Here's how you can help: -1. Check the [issue tracker](https://github.com/superdoc-dev/superdoc/issues) for open issues +1. Check the [issue tracker](https://github.com/superdoc/docx-editor/issues) for open issues 2. Fork the repository and create a feature/bugfix branch 3. Write clear, documented code following the style guidelines 4. Submit a PR with a detailed description of your changes -See the [Contributing Guide](https://github.com/superdoc-dev/superdoc/blob/main/CONTRIBUTING.md) for more details. +See the [Contributing Guide](https://github.com/superdoc/docx-editor/blob/main/CONTRIBUTING.md) for more details. diff --git a/apps/docs/snippets/components/source-code-link.jsx b/apps/docs/snippets/components/source-code-link.jsx index 14120ee3c4..69d4d71275 100644 --- a/apps/docs/snippets/components/source-code-link.jsx +++ b/apps/docs/snippets/components/source-code-link.jsx @@ -1,7 +1,7 @@ export const SourceCodeLink = ({ extension, path }) => { // Default to standard extension path if no custom path provided const githubPath = path || `packages/super-editor/src/editors/v1/extensions/${extension.toLowerCase()}`; - const githubUrl = `https://github.com/superdoc-dev/superdoc/tree/main/${githubPath}`; + const githubUrl = `https://github.com/superdoc/docx-editor/tree/main/${githubPath}`; return (
diff --git a/apps/vscode-ext/README.md b/apps/vscode-ext/README.md index 0742c4581c..d272129c64 100644 --- a/apps/vscode-ext/README.md +++ b/apps/vscode-ext/README.md @@ -2,7 +2,7 @@ Open, edit, and review Word documents directly in VS Code. -![SuperDoc VS Code Extension Demo](https://raw.githubusercontent.com/superdoc-dev/superdoc/main/apps/vscode-ext/demo.gif) +![SuperDoc VS Code Extension Demo](https://raw.githubusercontent.com/superdoc/docx-editor/main/apps/vscode-ext/demo.gif) ## Features @@ -26,11 +26,11 @@ Once installed, click any `.docx` file to open it with SuperDoc. ## AI Integration -SuperDoc provides an [MCP server](https://github.com/superdoc-dev/superdoc/tree/main/apps/mcp) that lets AI agents read, edit, and comment on Word documents programmatically. Combined with this extension, you get a live preview of AI-suggested changes — tracked changes and comments appear in real time as the agent works. +SuperDoc provides an [MCP server](https://github.com/superdoc/docx-editor/tree/main/apps/mcp) that lets AI agents read, edit, and comment on Word documents programmatically. Combined with this extension, you get a live preview of AI-suggested changes — tracked changes and comments appear in real time as the agent works. ## Part of SuperDoc -This extension is powered by [SuperDoc](https://github.com/superdoc-dev/superdoc) — open-source DOCX editing for the browser and server. No server calls — your documents never leave your machine. +This extension is powered by [SuperDoc](https://github.com/superdoc/docx-editor) — open-source DOCX editing for the browser and server. No server calls — your documents never leave your machine. ## License diff --git a/apps/vscode-ext/package.json b/apps/vscode-ext/package.json index e7fade61a7..a50614d9d8 100644 --- a/apps/vscode-ext/package.json +++ b/apps/vscode-ext/package.json @@ -8,11 +8,11 @@ "homepage": "https://superdoc.dev", "repository": { "type": "git", - "url": "https://github.com/superdoc-dev/superdoc", + "url": "https://github.com/superdoc/docx-editor", "directory": "apps/vscode-ext" }, "bugs": { - "url": "https://github.com/superdoc-dev/superdoc/issues" + "url": "https://github.com/superdoc/docx-editor/issues" }, "galleryBanner": { "color": "#0f172a", diff --git a/cicd.md b/cicd.md index 81cf76d812..ebfb8bf21f 100644 --- a/cicd.md +++ b/cicd.md @@ -304,4 +304,4 @@ pnpx semantic-release --dry-run --no-ci --- For contribution guidelines and development setup, see [CONTRIBUTING.md](CONTRIBUTING.md). -For questions about CI/CD, reach out on [Discord](https://discord.gg/wjMccuygvy) or [GitHub Discussions](https://github.com/superdoc-dev/superdoc/discussions). +For questions about CI/CD, reach out on [Discord](https://discord.gg/wjMccuygvy) or [GitHub Discussions](https://github.com/superdoc/docx-editor/discussions). diff --git a/context7.json b/context7.json index 27b4a9eac9..d6517cd5b9 100644 --- a/context7.json +++ b/context7.json @@ -1,4 +1,4 @@ { - "url": "https://context7.com/superdoc-dev/superdoc", + "url": "https://context7.com/superdoc/docx-editor", "public_key": "pk_aVjEFNpqitKsA1EcRl8XC" } diff --git a/demos/__tests__/playwright.config.ts b/demos/__tests__/playwright.config.ts index 66f3757703..cb918357f7 100644 --- a/demos/__tests__/playwright.config.ts +++ b/demos/__tests__/playwright.config.ts @@ -21,7 +21,7 @@ const manifest = JSON.parse(readFileSync(manifestPath, 'utf8')) as Array<{ sourceRepo?: string; }>; const entry = manifest.find((e) => e.id === demo); -const sourcePath = entry?.sourceRepo === 'superdoc-dev/superdoc' ? entry?.sourcePath : null; +const sourcePath = entry?.sourceRepo === 'superdoc/docx-editor' ? entry?.sourcePath : null; if (!sourcePath) { throw new Error(`DEMO="${demo}" not found in demos/manifest.json or is not a local demo`); } diff --git a/demos/manifest.json b/demos/manifest.json index a825686e7e..3e4bbb4edf 100644 --- a/demos/manifest.json +++ b/demos/manifest.json @@ -9,7 +9,7 @@ "title": "Contract templates", "description": "Smart fields and versioned reusable clauses driven by Word content controls. Detect stale sections and apply updates in place.", "category": "Editor", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/contract-templates", "docs": "https://docs.superdoc.dev/document-api/features/content-controls", "thumbnail": null, @@ -27,7 +27,7 @@ "title": "Custom UI with source-grounded citations", "description": "Source-grounded citations grounded in the document: insert a mock RAG-generated draft, see anchored citation highlights with hover popovers, and navigate from a sources panel. Wrapped in a full editor workspace with a custom toolbar, activity panel, comments, tracked changes, custom commands, import, and export.", "category": "Editor", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/editor/custom-ui", "docs": "https://docs.superdoc.dev/editor/custom-ui/overview", "thumbnail": null, @@ -45,7 +45,7 @@ "title": "Grading papers", "description": "Review student papers with documents, comments, annotations, and grading workflow UI.", "category": "Editor", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/grading-papers", "docs": null, "thumbnail": "demos/grading-papers/demo-thumbnail.png", @@ -63,7 +63,7 @@ "title": "Slack redlining", "description": "Use Slack and AI to insert redlines into a DOCX workflow.", "category": "AI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/slack-redlining", "docs": "https://docs.superdoc.dev/ai/overview", "thumbnail": "demos/slack-redlining/demo-thumbnail.png", @@ -81,7 +81,7 @@ "title": "Chrome extension", "description": "Open downloaded documents in a SuperDoc-powered Chrome extension.", "category": "Integrations", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/editor/integrations/chrome-extension", "docs": null, "thumbnail": "demos/chrome-extension/demo-thumbnail.png", @@ -99,7 +99,7 @@ "title": "Microsoft Word add-in", "description": "Synchronize documents between Microsoft Word and a SuperDoc web editor.", "category": "Integrations", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/editor/integrations/word-addin", "docs": null, "thumbnail": "demos/word-addin/demo-thumbnail.png", @@ -207,7 +207,7 @@ "title": "DOCX from HTML", "description": "Initialize a document from HTML content.", "category": "Document Engine", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/editor/superdoc/docx-from-html", "docs": "https://docs.superdoc.dev/editor/superdoc/import-export", "thumbnail": "demos/docx-from-html/demo-thumbnail.png", @@ -226,7 +226,7 @@ "title": "Fields source demo", "description": "Field annotations, drag and drop fields, and final export behavior.", "category": "Solutions", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/fields", "docs": "https://docs.superdoc.dev/solutions/template-builder/introduction", "thumbnail": "demos/fields/demo-thumbnail.png", @@ -245,7 +245,7 @@ "title": "Linked sections", "description": "Document section nodes, linked child editors, and section export helpers.", "category": "Advanced", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/linked-sections", "docs": "https://docs.superdoc.dev/extensions/document-section", "thumbnail": "demos/linked-sections/demo-thumbnail.png", @@ -264,7 +264,7 @@ "title": "HTML editor", "description": "Direct SuperEditor HTML mode.", "category": "Advanced", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/html-editor", "docs": "https://docs.superdoc.dev/advanced/supereditor/overview", "thumbnail": "demos/html-editor/demo-thumbnail.png", @@ -283,7 +283,7 @@ "title": "Next.js SSR", "description": "Next.js SSR-safe SuperDoc loading.", "category": "Getting Started", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/nextjs-ssr", "docs": "https://docs.superdoc.dev/getting-started/frameworks/nextjs", "thumbnail": "demos/nextjs-ssr/demo-thumbnail.png", @@ -302,7 +302,7 @@ "title": "React starter shim", "description": "Compatibility README for the old demo path. Use the React getting-started example.", "category": "Getting Started", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/react", "docs": "https://docs.superdoc.dev/getting-started/frameworks/react", "thumbnail": "demos/react/demo-thumbnail.png", @@ -321,7 +321,7 @@ "title": "Vue starter shim", "description": "Compatibility README for the old demo path. Use the Vue getting-started example.", "category": "Getting Started", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/vue", "docs": "https://docs.superdoc.dev/getting-started/frameworks/vue", "thumbnail": "demos/vue/demo-thumbnail.png", @@ -340,7 +340,7 @@ "title": "Vanilla starter shim", "description": "Compatibility README for the old demo path. Use the Vanilla JavaScript getting-started example.", "category": "Getting Started", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/vanilla", "docs": "https://docs.superdoc.dev/getting-started/frameworks/vanilla-js", "thumbnail": "demos/vanilla/demo-thumbnail.png", @@ -359,7 +359,7 @@ "title": "CDN starter shim", "description": "Compatibility README for the old demo path. Use the CDN getting-started example.", "category": "Getting Started", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/cdn", "docs": "https://docs.superdoc.dev/getting-started/quickstart", "thumbnail": "demos/cdn/demo-thumbnail.png", @@ -378,7 +378,7 @@ "title": "TypeScript starter shim", "description": "Compatibility README for the old demo path. Use the typed React getting-started example.", "category": "Getting Started", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/typescript", "docs": "https://docs.superdoc.dev/getting-started/frameworks/react", "thumbnail": "demos/typescript/demo-thumbnail.png", @@ -397,7 +397,7 @@ "title": "Custom mark shim", "description": "Compatibility README for the old demo path. Use the advanced custom mark example.", "category": "Advanced", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/custom-mark", "docs": "https://docs.superdoc.dev/advanced/custom-extensions", "thumbnail": null, @@ -416,7 +416,7 @@ "title": "Custom node shim", "description": "Compatibility README for the old demo path. Use the advanced custom node example.", "category": "Advanced", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/custom-node", "docs": "https://docs.superdoc.dev/advanced/custom-extensions", "thumbnail": null, @@ -435,7 +435,7 @@ "title": "Collaborative AI agent", "description": "Real-time collaborative DOCX editing with an AI agent. Y.js sync between a React client and a server-side OpenAI tool loop.", "category": "AI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "demos/collaborative-agent", "docs": "https://docs.superdoc.dev/ai/agents/integrations", "thumbnail": null, diff --git a/examples/advanced/extensions/custom-mark/README.md b/examples/advanced/extensions/custom-mark/README.md index 0f76932cc7..85506ac30b 100644 --- a/examples/advanced/extensions/custom-mark/README.md +++ b/examples/advanced/extensions/custom-mark/README.md @@ -2,8 +2,8 @@ An example of creating a custom Mark to use with SuperDoc. -[We create a custom mark here](https://github.com/superdoc-dev/superdoc/blob/main/examples/advanced/extensions/custom-mark/src/custom-mark.js). The custom command `setMyCustomMark` can be called from `superdoc.activeEditor.commands`. +[We create a custom mark here](https://github.com/superdoc/docx-editor/blob/main/examples/advanced/extensions/custom-mark/src/custom-mark.js). The custom command `setMyCustomMark` can be called from `superdoc.activeEditor.commands`. -[Then we pass it into the editor via the `editorExtensions` key](https://github.com/superdoc-dev/superdoc/blob/main/examples/advanced/extensions/custom-mark/src/App.vue). +[Then we pass it into the editor via the `editorExtensions` key](https://github.com/superdoc/docx-editor/blob/main/examples/advanced/extensions/custom-mark/src/App.vue). This example also shows one way to export the docx to a blob whenever the content changes in the editor. diff --git a/examples/advanced/extensions/custom-node/README.md b/examples/advanced/extensions/custom-node/README.md index e2e2eb797a..d6c5c8781a 100644 --- a/examples/advanced/extensions/custom-node/README.md +++ b/examples/advanced/extensions/custom-node/README.md @@ -2,6 +2,6 @@ An example of creating a custom node to use with SuperDoc. -[We create a custom node here](https://github.com/superdoc-dev/superdoc/blob/main/examples/advanced/extensions/custom-node/src/custom-node.js). The custom command `insertCustomNode` can be called from `editor.commands.insertCustomNode`. +[We create a custom node here](https://github.com/superdoc/docx-editor/blob/main/examples/advanced/extensions/custom-node/src/custom-node.js). The custom command `insertCustomNode` can be called from `editor.commands.insertCustomNode`. -[Then we pass it into the editor via the `editorExtensions` key](https://github.com/superdoc-dev/superdoc/blob/main/examples/advanced/extensions/custom-node/src/App.vue). +[Then we pass it into the editor via the `editorExtensions` key](https://github.com/superdoc/docx-editor/blob/main/examples/advanced/extensions/custom-node/src/App.vue). diff --git a/examples/manifest.json b/examples/manifest.json index 9a770b0124..55a6d9af2a 100644 --- a/examples/manifest.json +++ b/examples/manifest.json @@ -9,7 +9,7 @@ "title": "React starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/react", "docs": "https://docs.superdoc.dev/getting-started/frameworks/react", "ci": true @@ -24,7 +24,7 @@ "title": "Vue starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/vue", "docs": "https://docs.superdoc.dev/getting-started/frameworks/vue", "ci": true @@ -39,7 +39,7 @@ "title": "Vanilla JavaScript starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/vanilla", "docs": "https://docs.superdoc.dev/getting-started/frameworks/vanilla-js", "ci": true @@ -54,7 +54,7 @@ "title": "CDN starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/cdn", "docs": "https://docs.superdoc.dev/getting-started/quickstart", "ci": true @@ -69,7 +69,7 @@ "title": "Angular starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/angular", "docs": "https://docs.superdoc.dev/getting-started/frameworks/angular", "ci": true @@ -84,7 +84,7 @@ "title": "Next.js starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/nextjs", "docs": "https://docs.superdoc.dev/getting-started/frameworks/nextjs", "ci": false @@ -99,7 +99,7 @@ "title": "Nuxt starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/nuxt", "docs": "https://docs.superdoc.dev/getting-started/frameworks/nuxt", "ci": true @@ -114,7 +114,7 @@ "title": "Laravel starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/laravel", "docs": "https://docs.superdoc.dev/getting-started/frameworks/laravel", "ci": true @@ -129,7 +129,7 @@ "title": "Solid starter", "category": "Getting Started", "surface": "Frameworks", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/getting-started/solid", "docs": "https://docs.superdoc.dev/getting-started/frameworks/solid", "ci": true @@ -144,7 +144,7 @@ "title": "Built-in comments", "category": "Editor", "surface": "Built-in UI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/built-in-ui/comments", "docs": "https://docs.superdoc.dev/editor/built-in-ui/comments", "ci": true @@ -159,7 +159,7 @@ "title": "Built-in track changes", "category": "Editor", "surface": "Built-in UI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/built-in-ui/track-changes", "docs": "https://docs.superdoc.dev/editor/built-in-ui/track-changes", "ci": true @@ -174,7 +174,7 @@ "title": "Built-in toolbar", "category": "Editor", "surface": "Built-in UI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/built-in-ui/toolbar", "docs": "https://docs.superdoc.dev/editor/built-in-ui/toolbar", "ci": true @@ -189,7 +189,7 @@ "title": "Responsive zoom", "category": "Editor", "surface": "Built-in UI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/built-in-ui/responsive-zoom", "docs": "https://docs.superdoc.dev/editor/superdoc/configuration#param-zoom", "ci": true @@ -204,7 +204,7 @@ "title": "Custom UI: selection capture", "category": "Editor", "surface": "Custom UI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/custom-ui/selection-capture", "docs": "https://docs.superdoc.dev/editor/custom-ui/selection-and-viewport", "ci": true @@ -219,7 +219,7 @@ "title": "Custom UI: configurable toolbar", "category": "Editor", "surface": "Custom UI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/custom-ui/configurable-toolbar", "docs": "https://docs.superdoc.dev/editor/custom-ui/toolbar-and-commands", "ci": true @@ -234,7 +234,7 @@ "title": "Content controls: tagged inline text", "category": "Document API", "surface": "Content controls", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/document-api/content-controls/tagged-inline-text", "docs": "https://docs.superdoc.dev/document-api/features/content-controls", "ci": false @@ -249,7 +249,7 @@ "title": "Metadata anchors", "category": "Document API", "surface": "Metadata anchors", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/document-api/metadata-anchors", "docs": "https://docs.superdoc.dev/document-api/features/anchored-metadata", "ci": false @@ -264,7 +264,7 @@ "title": "Theming", "category": "Editor", "surface": "Theming", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/theming", "docs": "https://docs.superdoc.dev/editor/theming/overview", "ci": false @@ -279,7 +279,7 @@ "title": "Spell check with Typo.js", "category": "Editor", "surface": "Spell check", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/spell-check/typo-js", "docs": "https://docs.superdoc.dev/editor/spell-check/overview", "ci": false @@ -294,7 +294,7 @@ "title": "Spell check with LanguageTool", "category": "Editor", "surface": "Spell check", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/spell-check/language-tool-self-hosted", "docs": "https://docs.superdoc.dev/editor/spell-check/custom-provider", "ci": false @@ -309,7 +309,7 @@ "title": "SuperDoc Yjs collaboration", "category": "Editor", "surface": "Collaboration", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/collaboration/providers/superdoc-yjs", "docs": "https://docs.superdoc.dev/guides/collaboration/superdoc-yjs", "ci": true @@ -324,7 +324,7 @@ "title": "Hocuspocus collaboration", "category": "Editor", "surface": "Collaboration", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/collaboration/providers/hocuspocus", "docs": "https://docs.superdoc.dev/guides/collaboration/hocuspocus", "ci": true @@ -339,7 +339,7 @@ "title": "Liveblocks collaboration", "category": "Editor", "surface": "Collaboration", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/collaboration/providers/liveblocks", "docs": "https://docs.superdoc.dev/guides/collaboration/liveblocks", "ci": true @@ -354,7 +354,7 @@ "title": "Node SDK collaboration backend", "category": "Editor", "surface": "Collaboration", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/collaboration/backends/node-sdk", "docs": "https://docs.superdoc.dev/editor/collaboration/storage", "ci": false @@ -369,7 +369,7 @@ "title": "FastAPI collaboration backend", "category": "Editor", "surface": "Collaboration", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/editor/collaboration/backends/fastapi", "docs": "https://docs.superdoc.dev/editor/collaboration/storage", "ci": false @@ -384,7 +384,7 @@ "title": "Diffing", "category": "Document Engine", "surface": "Diffing", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/document-engine/diffing", "docs": "https://docs.superdoc.dev/document-engine/diffing", "ci": false @@ -399,7 +399,7 @@ "title": "AWS Bedrock", "category": "AI", "surface": "Agents", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/ai/bedrock", "docs": "https://docs.superdoc.dev/ai/agents/integrations", "ci": false @@ -414,7 +414,7 @@ "title": "Streaming into an editor", "category": "AI", "surface": "Agents", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/ai/streaming", "docs": "https://docs.superdoc.dev/ai/agents/integrations", "ci": false @@ -429,7 +429,7 @@ "title": "Footnote tool agent", "category": "AI", "surface": "Agents", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/ai/footnote-tool-agent", "docs": "https://docs.superdoc.dev/ai/agents/integrations", "ci": false @@ -444,7 +444,7 @@ "title": "AI redlining", "category": "AI", "surface": "Agents", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/ai/redlining", "docs": "https://docs.superdoc.dev/ai/overview", "ci": true @@ -459,7 +459,7 @@ "title": "Core actions agent", "category": "AI", "surface": "SDK (Node + Python)", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/ai/core-actions-agent", "docs": "https://docs.superdoc.dev/ai/agents/core-preset", "ci": false @@ -474,7 +474,7 @@ "title": "AI redlining (server-side)", "category": "Document Engine", "surface": "AI", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/document-engine/ai-redlining", "docs": "https://docs.superdoc.dev/getting-started/ai", "ci": true @@ -489,7 +489,7 @@ "title": "Headless Toolbar", "category": "Advanced", "surface": "Headless Toolbar", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/advanced/headless-toolbar", "docs": "https://docs.superdoc.dev/advanced/headless-toolbar", "ci": true @@ -504,7 +504,7 @@ "title": "Custom mark", "category": "Advanced", "surface": "Extensions", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/advanced/extensions/custom-mark", "docs": "https://docs.superdoc.dev/advanced/custom-extensions", "ci": true @@ -519,7 +519,7 @@ "title": "Custom node", "category": "Advanced", "surface": "Extensions", - "sourceRepo": "superdoc-dev/superdoc", + "sourceRepo": "superdoc/docx-editor", "sourcePath": "examples/advanced/extensions/custom-node", "docs": "https://docs.superdoc.dev/advanced/custom-extensions", "ci": true diff --git a/packages/ai/README.md b/packages/ai/README.md index 7ca4a37136..5476224319 100644 --- a/packages/ai/README.md +++ b/packages/ai/README.md @@ -469,7 +469,7 @@ AGPL-3.0 - see [LICENSE](../../LICENSE) for details. - 📖 [Documentation](https://superdoc.dev/docs/ai) - 💬 [Discord Community](https://discord.gg/superdoc) -- 🐛 [Issue Tracker](https://github.com/superdoc-dev/superdoc/issues) +- 🐛 [Issue Tracker](https://github.com/superdoc/docx-editor/issues) - 📧 [Email Support](mailto:support@superdoc.dev) ## Version & Compatibility diff --git a/packages/collaboration-yjs/README.md b/packages/collaboration-yjs/README.md index abd4f2b610..4c3fa02d2b 100644 --- a/packages/collaboration-yjs/README.md +++ b/packages/collaboration-yjs/README.md @@ -29,9 +29,9 @@ It provides: ## Examples -Please see a [quick start example here](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/collaboration/providers/superdoc-yjs). +Please see a [quick start example here](https://github.com/superdoc/docx-editor/tree/main/examples/editor/collaboration/providers/superdoc-yjs). -For more collaboration examples, see the [collaboration examples folder](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/collaboration). +For more collaboration examples, see the [collaboration examples folder](https://github.com/superdoc/docx-editor/tree/main/examples/editor/collaboration). ## Installation @@ -97,7 +97,7 @@ app.get('/collaboration/:documentId', { websocket: true }, (socket, request) => app.listen({ port: 3000 }); ``` -See [examples/editor/collaboration/providers/superdoc-yjs](https://github.com/superdoc-dev/superdoc/tree/main/examples/editor/collaboration/providers/superdoc-yjs) for more details. +See [examples/editor/collaboration/providers/superdoc-yjs](https://github.com/superdoc/docx-editor/tree/main/examples/editor/collaboration/providers/superdoc-yjs) for more details. --- diff --git a/packages/esign/.releaserc.cjs b/packages/esign/.releaserc.cjs index 2ab6f02d36..b66bf39c3e 100644 --- a/packages/esign/.releaserc.cjs +++ b/packages/esign/.releaserc.cjs @@ -67,7 +67,7 @@ if (shouldPublishGitHubRelease) { '@semantic-release/github', { successComment: - ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **esign** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc-dev/superdoc/releases/tag/${nextRelease.gitTag})', + ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **esign** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc/docx-editor/releases/tag/${nextRelease.gitTag})', }, ]); } diff --git a/packages/esign/package.json b/packages/esign/package.json index 571b527e0c..825b6a2e6d 100644 --- a/packages/esign/package.json +++ b/packages/esign/package.json @@ -31,7 +31,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/superdoc-dev/superdoc.git", + "url": "git+https://github.com/superdoc/docx-editor.git", "directory": "packages/esign" }, "keywords": [ @@ -50,9 +50,9 @@ "superdoc": "^1.33.1" }, "bugs": { - "url": "https://github.com/superdoc-dev/superdoc/issues" + "url": "https://github.com/superdoc/docx-editor/issues" }, - "homepage": "https://github.com/superdoc-dev/superdoc/tree/main/packages/esign#readme", + "homepage": "https://github.com/superdoc/docx-editor/tree/main/packages/esign#readme", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", diff --git a/packages/fonts/.releaserc.cjs b/packages/fonts/.releaserc.cjs index 1d0d5b9fba..9aae1abe38 100644 --- a/packages/fonts/.releaserc.cjs +++ b/packages/fonts/.releaserc.cjs @@ -55,7 +55,7 @@ if (shouldPublishGitHubRelease) { '@semantic-release/github', { successComment: - ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **@superdoc-dev/fonts** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc-dev/superdoc/releases/tag/${nextRelease.gitTag})', + ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **@superdoc-dev/fonts** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc/docx-editor/releases/tag/${nextRelease.gitTag})', }, ]); } diff --git a/packages/react/.releaserc.cjs b/packages/react/.releaserc.cjs index a6e95457fc..6525327eb8 100644 --- a/packages/react/.releaserc.cjs +++ b/packages/react/.releaserc.cjs @@ -101,7 +101,7 @@ if (shouldPublishGitHubRelease) { '@semantic-release/github', { successComment: - ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **@superdoc-dev/react** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc-dev/superdoc/releases/tag/${nextRelease.gitTag})', + ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **@superdoc-dev/react** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc/docx-editor/releases/tag/${nextRelease.gitTag})', }, ]); } diff --git a/packages/react/package.json b/packages/react/package.json index 773b236003..f8f635f575 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -70,11 +70,11 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/superdoc-dev/superdoc.git", + "url": "git+https://github.com/superdoc/docx-editor.git", "directory": "packages/react" }, "bugs": { - "url": "https://github.com/superdoc-dev/superdoc/issues" + "url": "https://github.com/superdoc/docx-editor/issues" }, - "homepage": "https://github.com/superdoc-dev/superdoc/tree/main/packages/react#readme" + "homepage": "https://github.com/superdoc/docx-editor/tree/main/packages/react#readme" } diff --git a/packages/sdk/langs/node/README.md b/packages/sdk/langs/node/README.md index 6269ba58ec..1c705bfbbf 100644 --- a/packages/sdk/langs/node/README.md +++ b/packages/sdk/langs/node/README.md @@ -148,7 +148,7 @@ Multi-action tools use an `action` field to select the underlying operation. Sin ## Part of SuperDoc -This SDK is part of [SuperDoc](https://github.com/superdoc-dev/superdoc) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server. +This SDK is part of [SuperDoc](https://github.com/superdoc/docx-editor) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server. ## License diff --git a/packages/sdk/langs/python/README.md b/packages/sdk/langs/python/README.md index b936fc4401..566388338f 100644 --- a/packages/sdk/langs/python/README.md +++ b/packages/sdk/langs/python/README.md @@ -420,7 +420,7 @@ pip download superdoc-sdk superdoc-sdk-cli-darwin-arm64 ## Part of SuperDoc -This SDK is part of [SuperDoc](https://github.com/superdoc-dev/superdoc) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server. +This SDK is part of [SuperDoc](https://github.com/superdoc/docx-editor) — open-source DOCX editing and tooling. Renders, edits, and automates .docx in the browser and on the server. ## License diff --git a/packages/super-editor/src/editors/v1/core/commands/insertContentAt.test.js b/packages/super-editor/src/editors/v1/core/commands/insertContentAt.test.js index c68c84a788..5202254533 100644 --- a/packages/super-editor/src/editors/v1/core/commands/insertContentAt.test.js +++ b/packages/super-editor/src/editors/v1/core/commands/insertContentAt.test.js @@ -141,7 +141,7 @@ describe('insertContentAt', () => { expect(tr.replaceWith).toHaveBeenCalledWith(9, 11, blockNode); }); - // https://github.com/superdoc-dev/superdoc/issues/842 + // https://github.com/superdoc/docx-editor/issues/842 it('when value has newlines, still inserts text using tr.insertText', () => { const value = 'Line 1\nLine 2'; diff --git a/packages/superdoc/.releaserc.cjs b/packages/superdoc/.releaserc.cjs index 35332f1faf..5ea585af87 100644 --- a/packages/superdoc/.releaserc.cjs +++ b/packages/superdoc/.releaserc.cjs @@ -137,7 +137,7 @@ if (shouldPublishGitHubRelease) { '@semantic-release/github', { successComment: - ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **superdoc** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc-dev/superdoc/releases/tag/${nextRelease.gitTag})', + ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **superdoc** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc/docx-editor/releases/tag/${nextRelease.gitTag})', }, ]); } diff --git a/packages/superdoc/AGENTS.md b/packages/superdoc/AGENTS.md index f90de5497f..6ca798471c 100644 --- a/packages/superdoc/AGENTS.md +++ b/packages/superdoc/AGENTS.md @@ -230,7 +230,7 @@ function BoldButton() { Reach for the controller when building custom UI. Reach for the Document API (`editor.doc.*`) for programmatic mutations from outside the UI (AI agents, server flows, scripts). The two layers compose: `editor` is reachable from inside command `execute` callbacks via `({ editor })`. -Full reference: https://docs.superdoc.dev/editor/custom-ui/overview. Worked example: https://github.com/superdoc-dev/superdoc/tree/main/demos/custom-ui. +Full reference: https://docs.superdoc.dev/editor/custom-ui/overview. Worked example: https://github.com/superdoc/docx-editor/tree/main/demos/custom-ui. ### Programmatic access (Document API) @@ -293,4 +293,4 @@ If your training data mentions SuperDoc, note these updates: - SDK: https://docs.superdoc.dev/document-engine/sdks - CLI: https://docs.superdoc.dev/document-engine/cli - LLM tools: https://docs.superdoc.dev/document-engine/ai-agents/llm-tools -- Examples: https://github.com/superdoc-dev/superdoc/tree/main/examples +- Examples: https://github.com/superdoc/docx-editor/tree/main/examples diff --git a/packages/superdoc/README.md b/packages/superdoc/README.md index 91959a6726..de30c14e7f 100644 --- a/packages/superdoc/README.md +++ b/packages/superdoc/README.md @@ -5,7 +5,7 @@ [![Documentation](https://img.shields.io/badge/docs-available-1355ff.svg)](https://docs.superdoc.dev/) [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-1355ff.svg)](https://www.gnu.org/licenses/agpl-3.0) [![npm version](https://img.shields.io/npm/v/superdoc.svg?color=1355ff)](https://www.npmjs.com/package/superdoc) -[![codecov](https://codecov.io/gh/superdoc-dev/superdoc/branch/main/graph/badge.svg)](https://codecov.io/gh/superdoc-dev/superdoc) +[![codecov](https://codecov.io/gh/superdoc/docx-editor/branch/main/graph/badge.svg)](https://codecov.io/gh/superdoc/docx-editor) [![Discord](https://img.shields.io/badge/discord-join-1355ff)](https://discord.com/invite/b9UuaZRyaB) SuperDoc renders and edits DOCX files in the browser. Built on OOXML — not bolted onto HTML. As you type, you write directly to the XML. Import a document, edit it, export it. Nothing lost. @@ -82,7 +82,7 @@ claude mcp add superdoc -- npx @superdoc-dev/mcp # connect agent to DOCX files ## Contributing -Check the [issue tracker](https://github.com/superdoc-dev/superdoc/issues) for open issues, or read the [Contributing Guide](../../CONTRIBUTING.md) to get started. Bug reports with reproduction .docx files are especially valuable. +Check the [issue tracker](https://github.com/superdoc/docx-editor/issues) for open issues, or read the [Contributing Guide](../../CONTRIBUTING.md) to get started. Bug reports with reproduction .docx files are especially valuable. ## Community diff --git a/packages/superdoc/package.json b/packages/superdoc/package.json index 16915809e2..bd2cd32124 100644 --- a/packages/superdoc/package.json +++ b/packages/superdoc/package.json @@ -5,12 +5,12 @@ "license": "AGPL-3.0", "repository": { "type": "git", - "url": "git+https://github.com/superdoc-dev/superdoc.git", + "url": "git+https://github.com/superdoc/docx-editor.git", "directory": "packages/superdoc" }, "homepage": "https://www.superdoc.dev/", "bugs": { - "url": "https://github.com/superdoc-dev/superdoc/issues" + "url": "https://github.com/superdoc/docx-editor/issues" }, "readme": "../../README.md", "files": [ diff --git a/packages/template-builder/.releaserc.cjs b/packages/template-builder/.releaserc.cjs index 1230f8c674..a61ff3eaca 100644 --- a/packages/template-builder/.releaserc.cjs +++ b/packages/template-builder/.releaserc.cjs @@ -68,7 +68,7 @@ if (shouldPublishGitHubRelease) { '@semantic-release/github', { successComment: - ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **template-builder** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc-dev/superdoc/releases/tag/${nextRelease.gitTag})', + ':tada: This ${issue.pull_request ? "PR" : "issue"} is included in **template-builder** v${nextRelease.version}\n\nThe release is available on [GitHub release](https://github.com/superdoc/docx-editor/releases/tag/${nextRelease.gitTag})', }, ]); } diff --git a/packages/template-builder/demo/src/App.tsx b/packages/template-builder/demo/src/App.tsx index 9e0a31fee4..a44bda01b2 100644 --- a/packages/template-builder/demo/src/App.tsx +++ b/packages/template-builder/demo/src/App.tsx @@ -281,7 +281,7 @@ export function App() {
diff --git a/packages/template-builder/package.json b/packages/template-builder/package.json index bf7ec373da..42e009d059 100644 --- a/packages/template-builder/package.json +++ b/packages/template-builder/package.json @@ -31,7 +31,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/superdoc-dev/superdoc.git", + "url": "git+https://github.com/superdoc/docx-editor.git", "directory": "packages/template-builder" }, "keywords": [ @@ -50,9 +50,9 @@ "superdoc": "^1.33.1" }, "bugs": { - "url": "https://github.com/superdoc-dev/superdoc/issues" + "url": "https://github.com/superdoc/docx-editor/issues" }, - "homepage": "https://github.com/superdoc-dev/superdoc/tree/main/packages/template-builder#readme", + "homepage": "https://github.com/superdoc/docx-editor/tree/main/packages/template-builder#readme", "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", diff --git a/scripts/__tests__/release-local.test.mjs b/scripts/__tests__/release-local.test.mjs index 739840019b..38ec47881e 100644 --- a/scripts/__tests__/release-local.test.mjs +++ b/scripts/__tests__/release-local.test.mjs @@ -131,15 +131,15 @@ test('release-local helper honors explicit preview-branch overrides', () => { test('release-local helper rewrites both ssh and https repository urls for previews', () => { const candidates = getRepositoryUrlCandidates('packages/superdoc'); assert.ok( - candidates.includes('git+https://github.com/superdoc-dev/superdoc.git'), + candidates.includes('git+https://github.com/superdoc/docx-editor.git'), 'packages/superdoc/package.json repository url must be included', ); assert.ok( - candidates.includes('https://github.com/superdoc-dev/superdoc.git'), + candidates.includes('https://github.com/superdoc/docx-editor.git'), 'git+https package repository urls must normalize to https for git rewrites', ); assert.ok( - candidates.includes('git@github.com:superdoc-dev/superdoc.git'), + candidates.includes('git@github.com:superdoc/docx-editor.git'), 'origin ssh urls must also be rewritten for preview remotes', ); }); diff --git a/scripts/semantic-release/linear-commit-sync.test.cjs b/scripts/semantic-release/linear-commit-sync.test.cjs index 9cf8c28daa..bb4d52dbbd 100644 --- a/scripts/semantic-release/linear-commit-sync.test.cjs +++ b/scripts/semantic-release/linear-commit-sync.test.cjs @@ -97,9 +97,9 @@ test('formatComment links prerelease comments to the Git tag', () => { 'next', 'superdoc', 'v1.2.3', - 'https://github.com/superdoc-dev/superdoc.git', + 'https://github.com/superdoc/docx-editor.git', ), - 'shipped in **superdoc** [1.2.3](https://github.com/superdoc-dev/superdoc/tree/v1.2.3) (next channel)', + 'shipped in **superdoc** [1.2.3](https://github.com/superdoc/docx-editor/tree/v1.2.3) (next channel)', ); }); @@ -111,9 +111,9 @@ test('formatComment links stable comments to the GitHub release', () => { 'latest', 'superdoc', 'v1.2.3', - 'https://github.com/superdoc-dev/superdoc.git', + 'https://github.com/superdoc/docx-editor.git', ), - 'shipped in **superdoc** [1.2.3](https://github.com/superdoc-dev/superdoc/releases/tag/v1.2.3) (latest channel)', + 'shipped in **superdoc** [1.2.3](https://github.com/superdoc/docx-editor/releases/tag/v1.2.3) (latest channel)', ); }); @@ -173,7 +173,7 @@ test('success does not call issueUpdate with an empty label set when issue label cwd: process.cwd(), logger, nextRelease: { version: '1.2.3', type: 'patch', gitTag: 'v1.2.3' }, - options: { repositoryUrl: 'https://github.com/superdoc-dev/superdoc.git' }, + options: { repositoryUrl: 'https://github.com/superdoc/docx-editor.git' }, }, ); } finally { @@ -232,7 +232,7 @@ test('success retries label lookup when concurrent label creation wins the race' cwd: process.cwd(), logger, nextRelease: { version: '1.2.3', type: 'patch', gitTag: 'v1.2.3' }, - options: { repositoryUrl: 'https://github.com/superdoc-dev/superdoc.git' }, + options: { repositoryUrl: 'https://github.com/superdoc/docx-editor.git' }, }, ); } finally { diff --git a/scripts/validate-examples-demos.ts b/scripts/validate-examples-demos.ts index dcc2f2a674..362fb6ca74 100644 --- a/scripts/validate-examples-demos.ts +++ b/scripts/validate-examples-demos.ts @@ -148,7 +148,7 @@ function validateManifest(manifestPath: string, relPath: string): void { // sourceKind must agree with sourceRepo: monorepo entries are local, // anything else is external. Cheap drift check. if (typeof e.sourceRepo === 'string' && typeof e.sourceKind === 'string') { - const expectedKind = e.sourceRepo === 'superdoc-dev/superdoc' ? 'local' : 'external'; + const expectedKind = e.sourceRepo === 'superdoc/docx-editor' ? 'local' : 'external'; if (e.sourceKind !== expectedKind) { issues.push({ file: relPath, diff --git a/superdoc-logo.png b/superdoc-logo.png new file mode 100644 index 0000000000..3626e5c7fe Binary files /dev/null and b/superdoc-logo.png differ