question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integration examples with forms

See original GitHub issue

I read through the documentation and I couldn’t find an example of integration with a textarea in a form:

<textarea id="editor"></textarea>
var editor = new Quill('#editor');

This just injects the iframe inside the textarea DOM node. Are there any examples of integration?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:15
  • Comments:30 (10 by maintainers)

github_iconTop GitHub Comments

23reactions
RajuBhosalecommented, Aug 7, 2014
<textarea id="editor"></textarea>
var editor = new Quill('#editor');

+1 for this

8reactions
garygreencommented, Feb 15, 2016

If the goal is to submit rich text, then you cannot use a textarea anyways and will have to submit via ajax post.

This is the goal and why would you need to use ajax? If the textarea’s value mirrored the HTML from quill, or you updated the textarea with the HTML just before submitting the form you don’t need ajax. I think it would be fair to assume that if quill is attempting to be initialised on a form element i.e. a textarea or input, then the final HTML generated by Quill is going to be submitted as part of the form data. A lot of wysiwyg editors do this, tbh I haven’t come across one that chokes if you give it a textarea element, it knows what your trying to do 😉

It’s not really a biggie as it’s easy enough to do with some event listeners and stuff, but I love libraries where you can get going with minimal effort and boilerplate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Differential Forms | Examples of integrating 2-forms. - YouTube
We give some examples of integrating two forms over surfaces.
Read more >
Differential Forms | Integrating 2-forms - YouTube
Differential Forms | Integrating m- forms. · Differential Forms | Examples of integrating 2- forms. · The coolest way to evaluate the Fresnel ......
Read more >
Examples | List of Integration Formulas - Cuemath
Integration Formulas can be used for algebraic expressions, trigonometric ratios, inverse trigonometric functions, rational functions and for all other ...
Read more >
2. Integrating 2–forms and Vector–valued Forms
The example considered here is among the simplest in “super linear algebra”.] Consider a bounded surface σ given by parametric equation as r...
Read more >
Form Integration -- from Wolfram MathWorld
A differential k-form can be integrated on an n-dimensional manifold. The basic example is an n-form alpha in the open unit ball in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found