Skip to content

Commit

Permalink
Update for latest Quill
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Jan 30, 2024
1 parent 95453b4 commit ed19d08
Show file tree
Hide file tree
Showing 9 changed files with 536 additions and 125 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
# Quill Webpack Example

A working example of building Quill and Parchment as part of a larger application build pipeline using Webpack. See [Adding Quill to Your Build Pipeline](https://quilljs.com/guides/adding-quill-to-your-build-pipeline) for a detailed guide.
A working example of building Quill as part of a larger application build pipeline using Webpack.

## Usage

Install dependencies:

```bash
npm install
npm run build
```

Run webpack in watch mode:

```bash
npm run watch
```

Build the code:

```bash
npm run dev
```

The code will be built to the `dist` directory. Open `dist/index.html` in a browser to see the result.

### License

Expand Down
4 changes: 0 additions & 4 deletions babel.config.js

This file was deleted.

3 changes: 3 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env", "@babel/preset-typescript"]
}
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8" />
<title>Quill Example</title>
</head>

<body>
<div id="toolbar"></div>
<div id="editor"></div>
</body>

</html>
Loading

0 comments on commit ed19d08

Please sign in to comment.