Skip to main content

Attribution

The library is MIT-licensed and imposes no forced watermark. The only built-in branding is a "GitHub" link in the Help menu, and it is fully optional โ€” you can point it anywhere or remove it entirely.

The repositoryUrl propโ€‹

<Editor> (from @oh-just-another/editor) exposes repositoryUrl to control the Help-menu link:

import { Editor } from "@oh-just-another/editor";

// Omit the prop โ†’ links to the project repository (default).
<Editor />

// Point it at your own repo.
<Editor repositoryUrl="https://github.com/acme/diagrams" />

// Hide the link entirely (e.g. embedding in another product).
<Editor repositoryUrl={null} />

The three cases are explicit: omitting the prop uses the project's default URL, a string sets your own, and null removes the menu item completely. There is no on-canvas badge, watermark, or "made with" overlay to strip โ€” attribution is just this one optional menu link.

Licenseโ€‹

Under MIT you are free to embed the editor in commercial and closed-source products without attribution. Passing repositoryUrl={null} is the supported way to ship a fully unbranded editor.