I created a different Renderer and added it to my editor.js.
When loading, I get an error now:
client:209 ./src/properties-panel/NSDPropertiesPanelRenderer.js 141:6
Module parse failed: Unexpected token (141:6)
You may need an appropriate loader to handle this file type.
|
| render(
> <PropertiesPanel
| element={ element }
| injector={ this._injector }
I assume I need some sort of Provider for this.
Any pointers on what the minimum requirement is for a provider? I’m looking to get the basic skeleton up where I can display an empty properties panel on the canvas.
That’s up to your implementation. The idea of providers is an implementation detail of bpmn-js-properties-panel. The base PropertiesPanel component only requires a property groups, which can be an empty array as well.
I think you have to notice that PropertiesPanel and BpmnPropertiesPanel are two different components with different props, you can’t simply exchange one by another.
The second is simply putting all the things the first one needs together, on top.
Thanks for sharing your Sandbox. However, this issue doesn’t pop up there, because your properties panel implementation is nowhere used. Do you have an example that showcases your issue?