How to add created editor widget to Hello World Content Type

Forums: 

I have been following "Hello world tutorial"

I have created widget by following "How to create an editor widget" (https://github.com/h5p/h5p-editor-color-selector)

However I am unable add this widget tp content type and get this error 

Missing dependency H5PEditor.ColorSelector 1.0 required by H5P.GreetingCard 1.0.

How to add a custom widget to custom content type ?

Where to place the "H5PEditor.ColorSelector" so its accessable to "H5P.GreetingCard" in "drupal-7-69/sites/default/files/h5p/development" ?

BTW how you search forum, there seems to be no search option visible ?

Attachments: 
otacke's picture

Please see my answer on github. https://github.com/h5p/h5p-editor-color-selector/issues/3#issuecomment-622502187

Thanks was able to resolve the issue,

the devil was in details,

the tutrial at https://h5p.org/creating-editor-widgets

says to update H5P.GreetingCard/library.json with '"minorVersion": 0' for '"machineName": "H5PEditor.ColorSelector",'

but the version in https://github.com/h5p/h5p-editor-color-selector/library.json 

"minorVersion" is 3.

Hence it could not find "H5PEditor.ColorSelector" in "h5p/development"

just upated '"minorVersion": 3' in H5P.GreetingCard/library.json and all works.