Open rich text editor
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Open rich text editor

  • Dark
    Light
  • PDF

Opens a rich text editor modal.

Outputs a text of HTML content representing the rich text document. Images are stored inline in the output text as Base64-encoded strings.

Web not supported.

Input arguments

Label Key Type Required? Default Description
Title title String No Title that will be shown on the top bar.
Initial HTML content initialContent String No String of HTML content to initialize the editor with.
Maximum image width imageMaxWidth Number(integer) No 1000 Maximum width for images added to the rich text. Larger images will be resized, preserving aspect ratio.
Maximum image height imageMaxHeight Number(integer) No 1000 Maximum height for images added to the rich text. Larger images will be resized, preserving aspect ratio.
Image quality imageQuality Number(decimal) No 1 Quality for images added to the rich text. Must be an integer between 01.

Output arguments

Number of outputs: 2

Label Key Type Description
HTML document htmlContent String Rich text document as a text of HTML content.

Events

No events.

Errors

Label Code Description
Unkown error unknown Thrown if an unknown error occured while using the rich text editor.
Platform not supported unsupportedPlatform Thrown if flow function is used on platform that is not supproted.

Was this article helpful?