Questions tagged [react-quill]

A Quill component for React.

react-quill is a plugin that creates components for the quill text editor for use with Facebook's reactjs library.

Resources
Github repository
QuillJS

239 questions
0
votes
1 answer

How to access ReactQuill api?

I need to access with button. For instance I click buttons and remove or save content of ReactQuill. But i cannot understand how to properly get access of functions of ReactQuill in React. In example they propose to use quill variable…
Vlad
  • 419
  • 1
  • 10
  • 21
0
votes
1 answer

Render/Add quill editor on click of a button in react

I am stuck on this for a day now. Have read multiple answers but could not find anything. My task is simple, I have a page where a user can answer a question. The page will have two editors open(by default). (Found this in a react-quill GitHub…
Ajay Dhiman
  • 103
  • 4
0
votes
1 answer

How to add editor in React js web APP and to store data in mongodb

How to embed any rich text editor or markdown to react js , and how can I store the editors data in mongodb?
0
votes
0 answers

How can I dynamically create Quill editors based on the amount of notes in an array?

import React, { useEffect} from 'react' import "./Notes.css" import * as Quill from 'quill' function Notes() { const numberOfNotes = localStorage.length function getNotes() { var notes = [] for (var i = 0; i <…
Arcanus
  • 642
  • 5
  • 20
0
votes
0 answers

How to render
    with proper indentation and label using react-native-render-html?

I'm using the renderers to alter the indention of the levels however I needed to provide a custom function to identify the proper label. Here's the payload returned from the API >>>>

sample product


  1. sample
0
votes
1 answer

How to open quill image uploader programmatically?

I have a two toolbar in quill. Quill toolbar Custom toolbar I need to put the image tool in the custom toolbar but the problem is that quill is only allowed the addHandler for its own toolbar so I need to open the quill image uploader…
0
votes
1 answer

How to prevent the keyboard enter event after entering 10 characters in react quill editor?

function onkeydown(e) { if (e.key === "enter") e.preventDefault() } Here iam unable to prevent the enter key.
Shiva Sai
  • 54
  • 4
0
votes
0 answers

How to use map function with react-quill without errors?

I am setting up an admin portal, the admin portal can have an unlimited amount of steps input. Each step contains a title and a section of rich text in the form of an HTML string. At the moment my code works but I get this error when I use the…
lukeet
  • 461
  • 1
  • 4
  • 22
0
votes
0 answers

React-quil nextjs use problem ref not work

When I connect NEXTJS react-quill, quill does not work. screen error I have attached a quill to my site. When I connected Quill the codes were class component. then I switched to arrow function. There was an error while processing create.js…
Kickster
  • 1
  • 1
0
votes
1 answer

How do I get the full Quill Api?

Im trying to implement upload image to server functionality in my react-quill component, and i get errors: quill.getSelection is not a function My function to handle image uploads looks like this: const handleUploadImage = () => { const input…
user14850280
  • 389
  • 3
  • 16
0
votes
1 answer

Making short description for article

I currently making a site witch have blog(I m using quill more precisely react-quilljs) and i want to add to blog card short description for now i have const jsonText = JSON.parse(article.body); let text = jsonText.ops[0].insert; this is sample…
Kuba Kluzniak
  • 422
  • 1
  • 8
  • 18
0
votes
0 answers

Using 'Enter' key for submit, but not in mobile's virtual keyboard

I use quill with react, and I added a binding for key 13 (enter) to send the message (shift enter for new line). Works perfectly on PC, but in mobile I don't want it to happen. In mobile I want the regular behavior (new line), so if the user wants…
Diamant
  • 51
  • 3
0
votes
0 answers

How to save the data of ReactQuill in mongoDB and getback with same styling features?

I am using ReactQuill text editor. When I am sending the content of editor into the MongoDB The styling of the content getting lost except Bold and paragraph tag. I want to know how I can store all data with styling and get back with the same. I am…
0
votes
1 answer

How do I convert a plain HTML-code into a value of react-quill text editor?

I'm using react-quill as a rich-text editor. I need to insert an already existing HTML code so it will be displayed as a text inside of the editor. Is there any ability to do something like this? let htmlSample = "

It's a test html to be…

Lab Lab
  • 781
  • 10
  • 34
0
votes
2 answers

How to add right-to-left support with react-quill

We're using react-quill for a rich text editor, and we need to add rtl support. Any idea of how to do it? We're building with typescript.
Joey Baruch
  • 4,180
  • 6
  • 34
  • 48
1 2 3
15
16