Contains the EditorCardProvider, for determining smart card behaviour in the editor.
Contains the EditorCardProvider, for determining smart card behaviour in the editor.
This package provides the EditorCardProvider class, which is designed to be used with the editor to determine smart card behavior. It manages smart card interactions, transformations, and API communications for link resolution and card rendering within the editor context.
``typescript
import { EditorCardProvider } from '@atlaskit/editor-card-provider';
// Default usage
const provider = new EditorCardProvider('stg');
// You may also pass in a base url override, if you'd like EditorCardProvider
// to make requests other than api-private.atlassian.com (prod) or pug.jira-dev.com (stg)
const provider = new EditorCardProvider('stg', 'www.acme.com/your-api-here');
``
Editor: Lego