Skip to content

Feature Request: API for creating custom link types in external packages #103

Description

@rolandschuetz

I want to implement my own custom link type without modifying the Archaeopteryx package itself.

I can successfully register a custom link type via the registry:

const linkTypeRegistry = globalRegistry.get('@sitegeist/archaeopteryx/link-types');
linkTypeRegistry.set('My.Package:CustomLink', myCustomLinkType);

However, I'm running into issues when trying to build the Editor component. The link type needs to use form fields that integrate with Archaeopteryx's form handling, but the necessary components/APIs don't appear to be publicly accessible from external packages.
I need import {Field} from '@sitegeist/archaeopteryx-core/src/framework'; to be exposed.

Is there a recommended architecture for creating custom link types in external packages? I'd love to hear your thoughts on how this use case could be supported.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions