API Playground

Developer Demo

Run the editor API from buttons and see the result and the code side by side.

In this demo, you can experience

  • Read and write text in a chosen spot with getText and setText.
  • Lock part of a document so nobody can edit it with setLock and setUnlock.
  • Limit the number of uploaded images with getUploadedFiles and addUploadPath.
  • Change toolbar icons and labels with addIcons and addMessages.

How To Try

  1. 1Press a button in the panel next to the editor.
  2. 2Check the result and the code that ran below the editor.
  3. 3Edit the document, then press the button again to compare.
Live editor — click anywhere and start editing

Result

Press a button to see the result here.

Code that ran

// ...