This article provides a step-by-step guide to run the Syncfusion RichTextEditor code component in local (TestHarness).
Before getting started with the Syncfusion RichTextEditor code component, ensure the following prerequisites are satisfied:
- node.js (>= v18.20.4) (LTS version is recommended)
- System requirements for Syncfusion React components
To run the Syncfusion RichTextEditor code component, follow these steps:
-
Ensure that all the prerequisites are met.
-
Open a command prompt (cmd) and navigate to the RichTextEditor code component, which is located in the components/richtexteditor/ folder.
-
Utilize the following command to install the dependent packages:
npm install
-
Execute the sample with the following command to visualize the RichTextEditor code component:
npm start watch
-
The RichTextEditor code component will be displayed with default properties. optionally paste the RTEConfig JSON into the
RTEConfig
property as per the requirement. Customize the other properties in the right property pane.
Note
Additionally, explore the API documentation for comprehensive details on the properties, methods, and events of the RichTextEditor code component.