configureAsConref

Type: Function

How to get configureAsConref?

JavaScript

import configureAsConref from 'fontoxml-dita/src/configureAsConref.js'

Configure nodes matching the given selector to work as a dita conrefs. A single call to this function configures both block and inline conrefs.

Automatically uses the DitaConrefReferencePopover.

Use the conrefs-use-permanent-references configuration variable to define whether the value of the conref attribute is a permanent reference which should be resolved.

Arguments

  1. sxModule

    (Required)

    Type: SxModule

  2. selector

    (Required)

    Type: XPathTest

    The @conref attribute selector part is automatically added.

  3. markupLabel

    (Required)

    Type: String

  4. options

    (Required)