Bläck StudioPlugin SDK v1.0.0 · API 10
Contents

Start

Building

Beyond Bläck Studio

How it runs

Sharing

Look up

In the window, or sandboxed

A plugin in the window runs in Bläck Studio's page. It can draw its own interface and use the editor directly.

A sandboxed plugin runs in a separate worker:

  • No page: it can't reach the page, the editor or other plugins.
  • No network access of its own: it has no fetch and no way to load code.
  • Everything through Bläck Studio: it asks for what it needs through this.app, and Bläck Studio answers according to the plugin's permissions.
  • The same methods: it has everything described above, except what draws an interface, editor.active(), editor.anchor() and app.speech. Its status bar items are text, and its menu entries use show to say whether they're for a selection.

The plugin list shows when a plugin is sandboxed. If your plugin doesn't need to draw anything, make it sandboxed.