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

Start

Building

Beyond Bläck Studio

How it runs

Sharing

Look up

More of the interface

  • addSidebarPanel({ id, name, render }): a tab beside Binder and Collections, drawn with React (window only).
  • addToolbarButton({ id, title, icon, active?, run }): a button in the editor's toolbar. The icon is a component in the window; in either, it can be a few characters ('★'). active shows it pressed.
  • addImporter({ id, name, extensions, import }): a kind of file for File → Import Documents. It's offered in the file dialog, and import is given the file (name, ext, data as bytes, text). It returns the documents to make: [{ title, html }].
  • styles.css: beside the manifest, it's loaded with the plugin and removed with it. Use your plugin's id in class names, so they don't clash with Bläck Studio's or another plugin's.