Type: Function

How to get addCustomMutation?


import addCustomMutation from 'fontoxml-base-flow/src/addCustomMutation.js'

Register a custom mutation, a callback to manipulate the XML of a document directly.


  1. mutationName


    Type: String

    The name used to refer to this mutation from operations (using a step of type custom-mutation/[mutationName]).

  2. callback


    The function called to perform the XML mutation.

  3. getTransactionInfo


    Type: Function

    For internal use only, do not use.