Skip to content

Commit

Permalink
feat: pass FEEL editor extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed Dec 22, 2023
1 parent f408e68 commit e087b04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/render/BpmnPropertiesPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ export default function BpmnPropertiesPanel(props) {
layoutConfig: initialLayoutConfig,
descriptionConfig,
tooltipConfig,
feelPopupContainer
feelPopupContainer,
feelEditorExtensions
} = props;

const canvas = injector.get('canvas');
Expand Down Expand Up @@ -238,6 +239,7 @@ export default function BpmnPropertiesPanel(props) {
tooltipConfig={ tooltipConfig }
tooltipLoaded={ onTooltipLoaded }
feelPopupContainer={ feelPopupContainer }
feelEditorExtensions={ feelEditorExtensions }
eventBus={ eventBus } />
</BpmnPropertiesPanelContext.Provider>;
}
Expand Down
5 changes: 4 additions & 1 deletion src/render/BpmnPropertiesPanelRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export default class BpmnPropertiesPanelRenderer {
layout: layoutConfig,
description: descriptionConfig,
tooltip: tooltipConfig,
feelPopupContainer
feelPopupContainer,
feelEditorExtensions
} = config || {};

this._eventBus = eventBus;
Expand All @@ -40,6 +41,7 @@ export default class BpmnPropertiesPanelRenderer {
this._descriptionConfig = descriptionConfig;
this._tooltipConfig = tooltipConfig;
this._feelPopupContainer = feelPopupContainer;
this._feelEditorExtensions = feelEditorExtensions;

this._container = domify(
'<div style="height: 100%" class="bio-properties-panel-container"></div>'
Expand Down Expand Up @@ -176,6 +178,7 @@ export default class BpmnPropertiesPanelRenderer {
descriptionConfig={ this._descriptionConfig }
tooltipConfig={ this._tooltipConfig }
feelPopupContainer={ this._feelPopupContainer }
feelEditorExtensions={ this._feelEditorExtensions }
/>,
this._container
);
Expand Down

0 comments on commit e087b04

Please sign in to comment.