Posted in by Tudipat 05:03Comments Off on Quill Text-Editor Implementation in ASP.NET
Quill Text-Editor Implementation in ASP.NET
18 March 2021
What is Quill?
Quill is a free, open-source modern rich text editor built for the modern web application. With its descriptive API and modular configuration, it is completely customizable to fit any need.
It was known for its compatibility and extensibility. It was created by Jason Chen and Byron Milligan and maintained by Slab in some sort of time-interval.
Key Features
Quill allows us to customize the options used for the text editor according to our needs.
Quill is known for its flexibility and extensibility.
How to implement Quill?
Step1:
Include Quill.js and Quill.snow.css to an HTML:
Step2:
Add a “div” tag with the “id” attribute and assign some name to it and include it inside a “body” tag with some static height. This is the place where our rich text-editor is going to display on the user interface.
Step3:
Now add a script section in the style tag and here create a new object of the quill and then add the id of the div in which we defined our editor to display
Step4:
Here is the view of the implemented quill editor
Various API used in Quill-Implementation
Content
Formatting
Selection
Editor
Events
Model
Extension
Followings are the function comes under each API group for the various purpose:
Customization of the editor
Create a toolbar with font-size, font color, and background color:
Modules in Quill
Toolbar
Keyboard
History
Clipboard
Syntax
Modules make quill’s behavior and functionality customized. There are various officially supported modules available to use while implementing it.
Themes in Quill
It allows us to make our editor look attractive and interactive as well with minimal effort in no time
There are two types of officially supported themes available in quill:
Snow: It’s a clean flat toolbar theme
Bubble: It’s a simple tooltip based theme
Summary
In this article, we got to know about the various new things like API, modules, themes supported by the quill.js. It also provides a good overview of the customization of the quill editor by modifying the content of the module according to our needs.
All content provided on this blog is for informational purposes only. Tudip Technologies provides no endorsement and makes no representations as to accuracy, reliability, completeness, suitability or validity of any information or content on, distributed through or linked, downloaded or accessed from this site. Tudip Technologies will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use of the information on this site. All information is provided on an as-is basis without any obligation to make improvements or to correct errors or omissions. This site may contain links to other websites. Tudip Technologies makes no guarantees or promises regarding these websites and does not necessarily endorse or approve of their content. You may not modify any part of the blog. The inclusion of any part of this blog in another work, whether in printed or electronic or other form, or inclusion of any part of the blog in another website by linking, framing or otherwise without the express permission of Tudip Technologies is prohibited. This site may not be used for any illegal or illicit purpose and Tudip Technologies reserves the right, at its sole discretion and without notice of any kind, to remove anything posted to this site. By using this site, you hereby acknowledge that any reliance upon any materials shall be at your sole risk.