Questions tagged [react-quilljs]

22 questions
0
votes
0 answers

How to add Tweet HTML Block to react-quilljs

I'm using 'react-quilljs' package, and I want to add Tweet HTML Block to the toolbar, I couldn't find any tutorial how to in their webpage The Code I'm Using: import { useQuill } from 'react-quilljs'; import 'quill/dist/quill.snow.css'; export…
sultan.h
  • 331
  • 1
  • 4
  • 16
0
votes
0 answers

How to colorize text with quilljs

I am trying to create an little text editor with quilljs and I saw that we can implement a code thank's to a code-block tag. The problem is that I still don't find how we can automatically colorate it... I would like to use code with it in Python,…
user19878266
0
votes
1 answer

React quill in nextjs and typescript custom image handler issue?

I am try to use react-quill in my typescript nextjs project. Here I am finding typing and ref issue that I can't solve. Please help me. Here is code example- import React, { useState, useRef } from 'react'; import dynamic from 'next/dynamic'; import…
Kate
  • 113
  • 3
0
votes
0 answers

Have a custom img blot with addEventListener. Event triggered when using insertEmbed, but it does not work when img loaded from existing html

I'm using react-native-cn-quill but this is really a Quilljs question. Thanks for your help. In the code below, clickHandler is called on click when I do a "insertEmbed(index, 'pbThumbnail', obj)", but when I load the webView with initialHtml…
Chris
  • 13
  • 3
0
votes
1 answer

Uncaught TypeError: Cannot read properties of undefined (reading 'value') on react-quill

Who do I receive this error in console when running my program? Uncaught TypeError: Cannot read properties of undefined (reading 'value') on react-quill Why can't I get the text from the text editor that made using react-quill? But if I'm using a…
Irfan M.
  • 23
  • 1
  • 4
0
votes
1 answer

ReactQuill loses focus

I'm using ReactQuill in my project. pretty newbie using react-quill. I'm using react and nextjs in my project. so I imported react-quill dynamically for preventing server side rendering:- const ReactQuill = dynamic(() => import("react-quill"), {…
Imtiaz Ahmed
  • 123
  • 3
  • 12
-3
votes
0 answers

When i use the clipboard attribute, it will report error

I want to use clipboard attribute to upload image to server. enter image description here enter image description here This is my react-quill version enter image description here And my node version is v18.16.0 How to solve this problem?
1
2