Zoom

The editor provides zoom tools which enlarges the view of an editor’s object enabling you to see more detail. You can continuous zoomIn and zoomOut either using zoom tools or keyboard.

You can assign Increases and decreases of zooming range using zoomStep property

  • html
  • <textarea id="editor"></textarea>
    
    /// <reference path="tsfiles/jquery.d.ts" />
    /// <reference path="tsfiles/ej.web.all.d.ts" />
    
    module RTEComponent {
        $(function () {
            var sample = new ej.RTE($("#rteSample"),{
                        value: "The RichTextEditor (RTE) control enables you to edit the contents with insert table and images," +
                        " it also provides a toolbar that helps to apply rich text formats to the content entered in the TextArea.",
                        toolsList: ["view"],
                        tools: { view:[“zoomIn”,”zoomOut”]},
                        zoomStep: 0.1 
                    });
            });
       }

    Print

    The editor provides print tools which use to print the contents of the editor.

  • html
  • <textarea id="rteSample"></textarea>
    
    /// <reference path="tsfiles/jquery.d.ts" />
    /// <reference path="tsfiles/ej.web.all.d.ts" />
    
    module RTEComponent {
        $(function () {
            var sample = new ej.RTE($("#rteSample"),{
                        value: "The RichTextEditor (RTE) control enables you to edit the contents with insert table and images," +
                        " it also provides a toolbar that helps to apply rich text formats to the content entered in the TextArea.",
                        toolsList: ["print"],
                        tools: { print:[“print”]}
                    });
    
                });
    }