diff --git a/README.md b/README.md index 10f4a13566..da23577082 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Instantiate a new Quill object with a css selector for the div that should becom ```html @@ -50,7 +50,7 @@ Instantiate a new Quill object with a css selector for the div that should becom - + + - + ``` ## Community diff --git a/packages/quill/README.md b/packages/quill/README.md index fe0b340540..10c7fae1c3 100644 --- a/packages/quill/README.md +++ b/packages/quill/README.md @@ -1,41 +1,3 @@ -Note: This branch and README covers the upcoming 2.0 release. View [1.x docs here](https://github.com/quilljs/quill/tree/1.3.6). +# Quill -

- Quill Rich Text Editor -

-

- Quill Logo -

-

- Documentation - • - Development - • - Contributing - • - Interactive Playground -

-

- - Build Status - - - Version - - - Downloads - -

- -[Quill](https://quilljs.com/) is a modern rich text editor built for compatibility and extensibility. It was created by [Jason Chen](https://twitter.com/jhchen) and [Byron Milligan](https://twitter.com/byronmilligan) and actively maintained by [Slab](https://slab.com). - -To get started, check out [https://quilljs.com/](https://quilljs.com/) for documentation, guides, and live demos! - -## Community - -Get help or stay up to date. - -- [Contribute](https://github.com/quilljs/quill/blob/main/.github/CONTRIBUTING.md) on [Issues](https://github.com/quilljs/quill/issues) -- Follow [@jhchen](https://twitter.com/jhchen) and [@quilljs](https://twitter.com/quilljs) on Twitter -- Ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/quill) -- If privacy is required, email support@quilljs.com +This is the main package of Quill. diff --git a/scripts/release.js b/scripts/release.js index 89c394067e..e1a79dc2c6 100755 --- a/scripts/release.js +++ b/scripts/release.js @@ -151,6 +151,9 @@ if ( exitWithError("Version mismatch between package.json and dist/package.json"); } +const readme = fs.readFileSync("README.md", "utf-8"); +fs.writeFileSync(path.join(distFolder, "README.md"), readme); + exec(`npm publish --tag ${distTag}${dryRun ? " --dry-run" : ""}`, { cwd: distFolder, });