Trevixal API
    Preparing search index...

    Function setDocumentAttrs

    • Merge settings into the document's own attributes, as one undoable step. Only attributes the schema's doc node declares are touched, so a schema without, say, line numbers is left alone rather than given a stray attr.

      Parameters

      Returns Command