A collection of custom Quill.js modules, formats, and other utilities.
This package is installed via npm or yarn
# npm
npm install --save-dev andculturecode-javascript-quill
# yarn
yarn add andculturecode-javascript-quill --dev
From there you can import the variety of modules.
import {
ResizableImage,
SetAltTextAction,
} from "andculturecode-javascript-quill";
You can also reference the global distribution package within a website which gives you access to the AndcultureCodeQuill
namespace. See the example below
<script src="https://unpkg.com/browse/andculturecode-javascript-quill@[version-number]/dist/global/index.js"></script>
<script>
var quillConfig = {
blotFormatter: {
specs: [AndcultureCodeQuill.ImageSpec],
},
};
</script>
NOTE - This source code relies on several peer dependencies, most of which are not included in this bundled global distribution. You will likely want to reference these in your website prior to referencing the andculture-javascript-quill
global package. See test-global-distribution.html for the full list of dependencies. Also note that peer dependencies are only required if your code will be executing code paths that utilize any of those peer dependencies.
Information on contributing to this repo is in the Contributing Guide
Thanks goes to these wonderful people (emoji key):
Mat Jones 💻 📖 |
Brandon Scott 👀 |
This project follows the all-contributors specification. Contributions of any kind welcome!