tachybase_todo/docs/components/collection-fields/markdown.md
2021-10-31 11:35:11 +08:00

429 B

Markdown

Interface

export const markdown: FieldOptions = {
  name: 'markdown',
  type: 'object',
  title: 'Markdown',
  group: 'media',
  default: {
    dataType: 'text',
    // name,
    uiSchema: {
      type: 'string',
      // title,
      'x-component': 'Markdown',
      'x-decorator': 'FormItem',
      'x-designable-bar': 'Markdown.DesignableBar',
    },
  },
  properties: {
    ...defaultProps,
  },
};