Setting toolbar for document editor in asp.net core

Hi
I'm trying to set toolbar for document editor but there is no documentation for it. is there any syncfusion tag helper for adding toolbar to document editor??
This is my code that doesn't work:

<ejs-documenteditor isReadOnly=false enableEditor=true enableSelection=true enableSfdtExport=true enableWordExport=true enableContextMenu=true enableTableOptionsDialog=true enableBookmarkDialog=true enableBookmarkDialog=true enableBordersAndShadingDialog=true enableEditorHistory=true enableFontDialog=true enableHistoryMode=true enableHyperlinkDialog=true enableImageResizer=true enableImageResizerMode=true enableListDialog=true enableLocalPaste=true enableOptionsPane=true enablePageSetupDialog=true enableParagraphDialog=true enablePrint=true enableRtl=true enableSearch=true enableSelection=true enableStyleDialog=true enableTableDialog=true enableTableOfContentsDialog=true enableTableOptionsDialog=true enableTablePropertiesDialog=true enableTextExport=true enableWordExport=true isUndoing=true id="documenteditor">
</ejs-documenteditor>

5 Replies

PK Prakash Kumar D Syncfusion Team September 25, 2018 11:30 AM UTC

Hi Shima, 
 
Thank you for contacting Syncfusion support. 
 
Currently there is no built-in toolbar support for our ASP.NET Core Document Editor component. We have implemented the toolbar and properties pane at application level. We have prepared the sample for your reference and it can be downloaded from the following link. 
 
 
Regarding Documentation: 
Our documentation will be published by next week. We will let you know once it has been completed. 
 
 
Regards, 
Prakash Kumar 



SH Shima September 25, 2018 04:11 PM UTC

Thank You


SH Shima October 1, 2018 06:28 AM UTC

Hi
I have another question, is it possible to change default save location of document editor? because save function has only two parameters: name and format. and save path cannot be changed.


PK Prakash Kumar D Syncfusion Team October 1, 2018 11:54 AM UTC

Hi Shima Rl, 
 
Thank you for contacting Syncfusion support. 
 
By design JavaScript does not allow reading and writing files through code. So, while saving we build the document and throw it to the browser. The browser’s default download functionalities process the thrown document and save it to default download location configured in that browser. 
 
So, we can’t manage the client-side download location through code. You can change the default download location of the browser, manually in the browser settings.  
 
If you need to save the document in the server-side, you can customize save location using “saveAsBlob” method in document editor. 
Please find the UG for “saveAsBlob” in the following link: 
 
We have prepared a sample with an option to save document into the server. Please try this sample and let us know if this helps you. 
 
 
Sample link:  
 
Regards, 
Prakash Kumar 



SH Shima October 2, 2018 05:48 AM UTC

This was very helpful, Thank you so much.

Loader.
Up arrow icon