Skip to main content

Command

Less than 1 minute

model

//read-only mode
editor.execCommand('readonly')
//form mode
editor.execCommand('form')
//Design Patterns
editor.execCommand('design')

Review (leave traces)

//toggle showing hidden revisions
editor.execCommand('revision')
//Switch to show and hide comments
editor.execCommand('remark')

Print

//Open the paging settings panel
editor.execCommand('pagesize')
//Printing preview
editor.execCommand('preview')
//Print directly
editor.execCommand('print')

Storage

//New document
editor.execCommand('new')
//Save to server
editor.execCommand('save')
//Clear local cache
editor.execCommand('clear')

Export

//Export json
editor.execCommand('exportJson')
//Export html
editor.execCommand('exportHtml')
//Export pdf
editor.execCommand('exportPdf')

Zoom

//Shrink 10%
editor.execCommand('zoomin')
//Enlarge 10%
editor.execCommand('zoomout')
//Restore to 100%
editor.execCommand('zoom')
//full screen
editor.execCommand('fullscreen')

Controls

//Display close tag
editor.execCommand('tag')
//Insert text control
editor.execCommand('insertText')
//Insert date control
editor.execCommand('insertDate')
//Insert drop-down box control
editor.execCommand('insertDropdown')
//Insert dynamic data control
editor.execCommand('insertDataList')
//Insert checkbox
editor.execCommand('insertCheckbox')
//Insert radio button
editor.execCommand('insertRadio')
//Insert checkbox group
editor.execCommand('insertCheckboxGroup')
//Insert radio button group
editor.execCommand('insertRadioGroup')
//Insert picture
editor.execCommand('insertImage')
//Insert barcode
editor.execCommand('insertBarcode')
//Insert QR code
editor.execCommand('insertQRcode')
//Insert signature
editor.execCommand('insertSignate')
//Insert menstrual expression
editor.execCommand('insertFormula')
//Insert tooth bitmap
editor.execCommand('insertTooth')
//Insert special symbols
editor.execCommand('insertSymbol')

sheet

//Insert table rows
editor.execCommand('insertRow')
//Insert table columns
editor.execCommand('insertCol')
//Delete table rows
editor.execCommand('deleteRow')
//delete table column
editor.execCommand('deleteCol')
//Reset table: reset row height and column width
editor.execCommand('resetTable')
//Merge selected cells
editor.execCommand('mergeCell')