Markdown Editor

Editor is an ISLE element that can be used to create md and html files.

Example:

<MarkdownEditor
    defaultValue="Use this as a markdown editor"
    voiceControl />

Open interactive preview

Options:

  • autoSave: boolean value indicating whether the content of the editor is saved after a certain interval. Defualt: true.
  • defaultValue: string indicating the content of the editor. Default: .
  • intervalTime: number value indicating the time interval between autosaves in milliseconds. Default: 3000.
  • onChange: Callback function invoked whenever the user types a letter. Default: function(){}.
  • options: object of options used for the SimpleMDE editor which forms the basis of this component. Default: {}.
  • submitButton: boolean value indicating whether or not to include a button allowing for students to submit the contents of their editor to the server. Default: false.
  • voiceControl: Emebds voice recognition in the editor (works only in Chrome). Default: false.
  • voiceTimeout: number indicating the time in milliseconds until voice control is de-activated. Default: 5000.

results matching ""

    No results matching ""