camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.51k stars 483 forks source link

Decision table FEEL editor should word wrap, text area style #4098

Closed nikku closed 4 months ago

nikku commented 9 months ago

Describe the bug

The default behavior for our editors is to line-wrap textarea style:

capture Q5dsLc_optimized

We see the decision table (cell) editor exibit a different behavior:

capture Y5dvTN_optimized

Steps to reproduce

  1. open decision table
  2. populate cell longer than available space
  3. observe nice wrapping when not editing, and ugly no wrapping when editing

Expected behavior

Editor wraps (as the display / textarea) does.

Environment

Additional context

Depends on https://github.com/bpmn-io/dmn-js/issues/838

nikku commented 4 months ago

Fixed upstream via https://github.com/bpmn-io/dmn-js/pull/876, integrated via https://github.com/camunda/camunda-modeler/commit/d01ea95d50b51d06108a6dec1ce84435ed1fa4da.