AI OnAI Off
Well, if it helps, managed to get some use of type conversion registry like this:
define([ .. "epi/shell/conversion/ObjectConverterRegistry" ], function ( ... objectConverterRegistry ) {
Glad you found it. We'll update the documentation.
In case you were using the DnD sample: the source needs a name property when calling source.insertNodes. We'll update that part as well.
Hi!
I was trying to register a type converter from Drag-and-drop example
and put the following line in my Initializer module:
This resulted in
epi.js:2 Error: Could not resolve dependency "epi.objectconverterregistry" (epi.dependency) (epi.js:2)
at resolve (epi.js:2)
at resolveDependency (epi.js:2)
at initialize (ModuleInitializer.js:52)
at .
at dojo.js:15
at _c8 (dojo.js:15)
at _36 (dojo.js:15)
at dojo.js:15
at _37 (dojo.js:15)
at _7c (dojo.js:15)
Could anyone please show the proper way to register a type converter?