@writergate/quill-image-uploader-nextjs 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -28,7 +28,7 @@ class ImageUploader {
|
|
28
28
|
const formats = this.quill.getFormat(range);
|
29
29
|
// if its not a code-block yet, turn it into one.
|
30
30
|
if (!formats['code-block']) {
|
31
|
-
return quill.formatLine(range.index, 'code-block', 'user');
|
31
|
+
return this.quill.formatLine(range.index, 'code-block', 'user');
|
32
32
|
};
|
33
33
|
|
34
34
|
// if it was a code-block, and the user meant to remove it
|