engine/dev-utils/utils
@ckeditor/ckeditor5-engine/src/dev-utils/utils
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
module:engine/dev-utils/utils~convertMapToStringifiedObject
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
module:engine/dev-utils/utils~convertMapToTags
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 )
module:engine/dev-utils/utils~dumpTrees
private
Helper function that stores the
document
state for a givenversion
.Parameters
document : *
version : *
-
initDocumentDumping( document )
module:engine/dev-utils/utils~initDocumentDumping
private
Helper function that initializes document dumping.
Parameters
document : *
-
logDocument( document, version )
module:engine/dev-utils/utils~logDocument
private
Helper function that logs document for the given version.
Parameters
document : *
version : *
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.