Moving Text Style Toolbar (properties pane) to the Top in DocumentEditor

     Greetings.


I’m working with the DocumentEditor and I need some help with customizing the toolbar layout. Currently, the text style toolbar is positioned on the right side of the DocumentEditor, but I would like to move it to the top of the editor.

Is there a way to reposition the text style toolbar from the right side to the top of the document editor? Any guidance or examples on how to achieve this would be greatly appreciated!


Image_7531_1724169041142

Thanks,

Anuj


4 Replies

SI Suresh Iyappan Syncfusion Team August 21, 2024 06:43 PM UTC

Hi Anuj Vijayan,


In DocumentEditor container component, we cannot modify the toolbar layout. The toolbar and properties pane are predefined in documenteditor container component. But in DocumentEditor component, only the editor area will be in default and we can customize the toolbar and properties pane. Using DocumentEditor component we can customize the toolbar options. Please find the attached sample in which the text style properties pane options are moved to the top of the editor.

Sample link : https://stackblitz.com/edit/7gfwkg-vx7x8e?file=index.ts,package.json 


Regards,
Suresh I



KE Kevin March 16, 2025 12:17 AM UTC

Hello, 

Sorry to reopen a not so old thread.

It is very interesting  Suresh, I was totally looking for that ! Would you have the same example with angular and using standalone component ?

I would also like to use event like onCreate, onDrop etc... is it possible ?


Best,

Kevin



MA Mohammed Affan Saqib Hussain Syncfusion Team March 17, 2025 01:54 PM UTC

Hi Anuj Vijjan,

Currently, we are preparing the sample for meeting your requirements and we will update detail by March 19, 2025.

Regards,

Mohammed Affan C



KM Kavitha Muralitharan Syncfusion Team March 19, 2025 02:35 PM UTC

Hi Anuj Vijjan,


We have provided a sample in angular to meet your requirement for your reference. Please check this and let us know if you need any other assistance.


Sample: https://stackblitz.com/edit/angular-gmlgx8ii-eszk6ewn?file=src%2Fapp.component.ts


Regards,

Kavitha M


Loader.
Up arrow icon