Skip to main content

Playground

The Playground serves as an interactive platform for users to explore and test the capabilities of the ONLYOFFICE DocSpace JavaScript SDK without registration and installing anything. It provides users with various embedding modes, allowing them to experiment with different DocSpace configurations seamlessly.

Features

  • Script testing. Write and run JavaScript code using the DocSpace SDK to configure and initialize different embedding modes.
  • Live preview. See the result of your configuration instantly in the embedded DocSpace frame.
  • Multiple modes. Test all available embedding modes: manager, editor, viewer, room selector, file selector, frame, system, and public room.
  • Customization. Switch themes for convenience.
ManagerManager

Manager

Explore the document manager to work with rooms, folders, and documents within DocSpace.

EditorEditor

Editor

Open and edit documents directly in the embedded DocSpace editor.

ViewerViewer

Viewer

View documents in a read-only embedded viewer.

Room selectorRoom selector

Room selector

Embed a room selector to let users pick a DocSpace room.

File selectorFile selector

File selector

Embed a file selector to let users pick files from DocSpace.

SystemSystem

System

Use the system mode to call SDK methods without a visible frame.