theseus/bundled-addons/notepad/index.js
2026-09-12 00:07:42 +02:00

13 lines
350 B
JavaScript

// Notepad — reference add-on. Registers one sidebar panel; the panel's
// HTML does all the actual work via window.silentmode.storage.
module.exports = {
activate(api) {
api.registerSidebarPanel({
id: "main",
title: "Notepad",
icon: "📝",
page: "note.html",
});
api.log("registered notepad panel");
},
};