DitaCrossReferencePopover

Type: React component

A popover used for cross references in dita editors.

Is registered under the name DitaCrossReferencePopover.

Use the popover in the family configuration by adding visualization.popoverComponentName and visualization.popoverData.

Other

configureAsInlineLink(sxModule, 'self::xref[@format="dita"]', 'link', href, {
	emptyElementPlaceholderText: 'type the link text',
		popoverComponentName: 'DitaCrossReferencePopover',
		popoverData: {
			editOperationName: 'dita-reference-document-edit',
			targetIsPermanentId: true,
			targetQuery: '@href'
		}
});

Props

  1. data

    (Required)

    Type: Object

    The popoverData that should be provided in the family configuration.

    Properties