readOnly | boolean | false | Turn the editor into a readonly uneditable view. Good for previewing a document. |
widthInches | number | 8.5 | Width of the editor in inches. |
paddingInches | number | widthInches / 17 | Padding (whitespace on the edges) inside the editor in inches. Calculated by default based on width. Can be overriden. |
usableWidthPixels | number | widthInches * 96 - paddingInches * 96 * 2 | Usable width for content inside the editor. Calculated by default based on width and padding. Can be overriden. |
singleLine | boolean | false | Disallow linebreaks. Good for a demo of a single block inside the editor. |
toolbarOffsetEm | number | 1 + paddingInches * 2 | Horizontal offset of the hovering toolbar in em. Calculated by default based on padding. Can be overriden. |