Customization toolbar not working

Hello, i'm trying to customizate the DocumentEditor Toolbar, like described in this link (https://ej2.syncfusion.com/javascript/documentation/document-editor/how-to/customize-tool-bar/), but, i'm using Javascript ES5 and all modifications i made, none works.

My code:

var toolItem = {
          prefixIcon: "e-de-ctnr-lock",
          tooltipText: "Disable Image",
          text: "Disable Image",
          id: "Custom"
        };

        var documenteditorContainer = new ej.documenteditor.DocumentEditorContainer({
            enableToolbar: true,
            toolbarItems: [toolItem, 'Undo','Redo','Separator','Image','Table','Hyperlink','Bookmark','Comments','TableOfContents','Separator','Header','Footer','PageSetup','PageNumber','Break','Separator','Find','Separator','LocalClipboard','RestrictEditing']
        });
        documenteditorContainer.appendTo('#documentEditor');

Could you help me?

Thank you.

3 Replies 1 reply marked as answer

HC Harini Chellappa Syncfusion Team November 10, 2020 07:20 AM UTC

Hi S_Line, 
 
Syncfusion Greetings! 
 
Can you please ensure the reported scenario using latest version [18.3.47] document editor source?  
 
 
For your reference, please check the below Javascript ES5 sample with toolbar customized. 
 
 
kindly check it and let us know. 
 
Regards, 
 
Harini C 


Marked as answer

S_ S_Line November 10, 2020 12:09 PM UTC

Thank you very much, its working now


HC Harini Chellappa Syncfusion Team November 11, 2020 04:04 AM UTC

Hi S_Line, 
 
Welcome! 
 
Regards, 
 
Harini C 


Loader.
Up arrow icon