Module

engine/dev-utils/utils

@ckeditor/ckeditor5-engine/src/dev-utils/utils

module

Note: This package is used only internally for debugging purposes and should not be used in other environments. It uses a few special methods not existing in the default building process. That is also why there are no tests for this file.

Filtering

Functions

  • convertMapToStringifiedObject( map ) → String

    private

    Helper function, converts a map to the '{"key1":"value1","key2":"value2"}' format.

    Parameters

    map : Map

    Map to convert.

    Returns

    String

    Converted map.

  • convertMapToTags( map ) → String

    private

    Helper function, converts a map to the 'key1="value1" key2="value1"' format.

    Parameters

    map : Map

    Map to convert.

    Returns

    String

    Converted map.

  • dumpTrees( document, version )

    private

    Helper function that stores the document state for a given version.

    Parameters

    document : *
    version : *
  • initDocumentDumping( document )

    private

    Helper function that initializes document dumping.

    Parameters

    document : *
  • logDocument( document, version )

    private

    Helper function that logs document for the given version.

    Parameters

    document : *
    version : *