Kind: Interface
Source: atloria-monorepo/packages/editor/src/plugins/directives/index.ts
Implement this interface to create a custom editor for markdown directives.
Pass the object in the directivesPlugin parameters.
Properties
| Property | Type |
|---|---|
name | string |
attributes | string[] |
hasChildren | boolean |
type | `'leafDirective' |
Editor | React.ComponentType<DirectiveEditorProps<T>> |
Was this page helpful?