Category / Section
How to remove the tool bar from the rich text editor but leave the empty textbox alone?
2 mins read
How to hide the tool bar from the rich text editor but leave the empty editor alone?
We can hide the toolbar from JavaScript Rich Text Editor and leave the empty textbox alone using our API “showToolBar”.
This API used to show/hide the tool bar in rte. Default value of this API is “true”. We can hide the tool bar by setting this property value as false.
Please refer the below code snippet to hide the toolbar in RTE at that initialization.
[script] $("#rteSample").ejRTE({ showToolbar: false });//hide the toolbar at that time initialization
|
Please refer the below code snippet to hide the toolbar in RTE dynamically or using object after the control is rendered.
[script]
var rteObj = $("#rteSample").data("ejRTE"); rteObj.option("showToolbar", false);//to hide the toolbar dynamically/using object
|
Conclusion
I hope you enjoyed learning how to perform multiple selection by using the checkbox in JS Grid.
You can refer to our JavaScript Rich Text Editor feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our JavaScript Rich Text Editor example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!