react-quilljs
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -34,3 +34,2 @@ import { useRef, useState, useEffect } from 'react'; | ||
'background', | ||
'clean', | ||
]; | ||
@@ -72,3 +71,3 @@ function assign(target, _varArgs) { | ||
if (!obj.Quill) { | ||
setObj((prev) => assign(prev, { Quill: require('quill').default })); | ||
setObj(prev => assign(prev, { Quill: require('quill').default })); | ||
} | ||
@@ -75,0 +74,0 @@ if (obj.Quill && !obj.quill && quillRef && quillRef.current && isLoaded) { |
@@ -37,3 +37,2 @@ "use strict"; | ||
'background', | ||
'clean', | ||
]; | ||
@@ -75,3 +74,3 @@ function assign(target, _varArgs) { | ||
if (!obj.Quill) { | ||
setObj((prev) => assign(prev, { Quill: require('quill').default })); | ||
setObj(prev => assign(prev, { Quill: require('quill').default })); | ||
} | ||
@@ -78,0 +77,0 @@ if (obj.Quill && !obj.quill && quillRef && quillRef.current && isLoaded) { |
{ | ||
"name": "react-quilljs", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "React Hook Wrapper for Quill, powerful rich text editor", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -37,14 +37,2 @@ # react-quilljs [](https://travis-ci.org/gtgalone/react-quilljs) | ||
$ pnpm add -D @types/quill | ||
// If you are using Next.js. Update next.config.mjs. | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
experimental: { | ||
esmExternals: "loose", | ||
}, | ||
}; | ||
export default nextConfig; | ||
``` | ||
@@ -51,0 +39,0 @@ --- |
17488
200
351