Text Editor

A text editor for writing notes or reports. Supports exporting of notes as HTML or PDF files, as well as automatic submission to the ISLE server.


<TextEditor />

Open interactive preview


  • autoSave | boolean: controls whether the editor should save the current text to the local storage of the browser at a given time interval. Default: true.
  • allowSubmissions | boolean: controls whether students may submit their reports to the server. Default: true.
  • canLoadHTML | boolean: undefined. Default: true.
  • defaultValue | string: default text of the editor. Default: '\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'.
  • groupMode | boolean: controls whether to enable collaborative text editing. Default: false.
  • intervalTime | number: time between auto saves. Default: 10000.
  • peerReview | {submitButtonLabel,reviewButtonLabel,finalButtonLabel,filterOwners}: if not null, enables peer review mode in which each submission is sent to another randomly chosen student and vice versa. Default: none.
  • resetModal | {title,body,buttonLabel,notificationTitle,notification,tooltip}: undefined. Default: none.
  • voiceTimeout | number: time in milliseconds after a chunk of recorded voice input is inserted. Default: 5000.
  • language | string: language identifier. Default: 'en-US'.
  • style | object: CSS inline styles. Default: {}.
Last updated on by Planeshifter