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