Skip to content

A quick start Angular project that shows how to add custom tool to a Syncfusion Angular Rich Text Editor toolbar. This project also includes a code snippet to add a dialog component and insert the special characters to the Rich Text Editor component.

Notifications You must be signed in to change notification settings

SyncfusionExamples/add-a-custom-toolbar-item-to-an-angular-rich-text-editor

Repository files navigation

How to Add a Custom Toolbar Item to an Angular Rich Text Editor Component

A quick start Angular project that shows how to add custom tool to a Syncfusion Angular Rich Text Editor toolbar. This project also includes a code snippet to add a dialog component and insert the special characters to the Rich Text Editor component.

Examples: https://ej2.syncfusion.com/angular/demos/#/material/rich-text-editor/insert-special-characters

Documentation: https://ej2.syncfusion.com/angular/documentation/rich-text-editor/toolbar/#custom-tool

Project pre-requisites

Make sure that you have the compatible versions of TypeScript and Angular in your machine before starting to work on this project.

Angular 4+

TypeScript 2.6+

How to run this application?

To run this application, you need to first clone the add-a-custom-toolbar-item-to-an-angular-rich-text-editor repository and then navigate to its appropriate path where it has been in your system.

To do so, open the command prompt and run the below commands one after the other.

git clone richtexteditor-example

cd richtexteditor-example

Installing

Once done with downloading, next you need to install the necessary packages required to run this application locally. The npm install command will install all the needed angular packages into your current project and to do so, run the below command.

npm install

Running on development server

Run ng serve command for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

About

A quick start Angular project that shows how to add custom tool to a Syncfusion Angular Rich Text Editor toolbar. This project also includes a code snippet to add a dialog component and insert the special characters to the Rich Text Editor component.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5