November Happy Hour will be moved to Thursday December 5th.

Dojo Widget loading in page editor, but not block editor

Vote:
 

I'm using the color picker Dojo widget (https://github.com/knowit/ColorPickerEditor) in my project and it's working great when I'm editing a property directly on a page, but when I place the same UIHint("ColorPicker") inside of a Block object, it is just displaying as a normal string inside of the editor, instead of as the color picker.

It seems to be loading a different set of scripts when I'm in the block editor, and the ColorPickerEditor.js is not being loaded at all on that page. Any suggestions?

#174920
Feb 07, 2017 21:49
Vote:
 

This seems to be related to my other post as well. Why does the block editor seem to be in a completely different environment than the page editor? None of the same things are loading on the block editor as on the page editor.

#174964
Feb 08, 2017 17:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.