We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding a option to toolbar and showing dropdown or toggle right panel

Thread ID:

Created:

Updated:

Platform:

Replies:

142660 Feb 14,2019 12:39 AM UTC Feb 18,2019 06:55 AM UTC Angular - EJ 2 1
loading
Tags: DocumentEditor
Kijan Maharjan
Asked On February 14, 2019 12:39 AM UTC

Hi, I came across this tool and was testing with the trial version. I happen to have the requirement to add a new custom option in the tool bar with custom dropdown. currently I'm using jQuery to add an option but I would prefer to have a better solution provided by you guys. Also, to add action such as adding a dropdown, or toggling right panel.

Q. I need to add a option to toolbar where it has dropdown of the list of items. The better UX would be to toggle the right panel and show the list there. So user can drag and drop the list into the document. 

I'm looking forward to hear from you.

Thanks.
Regards,
Kijan.


Ramya Thirugnanam [Syncfusion]
Replied On February 18, 2019 06:55 AM UTC

Hi Kijan,  
 
Thank you for contacting Syncfusion support.  
 
Regarding “add an option to toolbar”  
 
We don’t have support for adding a custom element in the built-in toolbar. But you can hide built-in toolbar and integrated your custom toolbar in document editor by using public API exposed in DocumentEditor.  
   
   
Regarding “toggle the right panel  
  
We can toggle the right-side panel by using “showPropertiesPane” properties of DocumentEditorContainer component.  
 
Sample code:  
//To show right-side pane   
this.container.showPropertiesPane = true;  
//To hide right-side pane  
this.container.showPropertiesPane = false;  
  
   
For your convenience, we have prepared a demo sample by adding a custom toolbar with dropdown list items and custom right-side pane where the user can drag and drop the content to document editor.  
 
   
Regards, 
Ramya T 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon