Current versus expected behaviour
When using the inline text editor for the bpmn2.Activity shape in JointJS, pressing the spacebar does not insert a space. This issue prevents users from adding spaces between words, which is essential for proper text formatting. Additionally, sometimes the input behaves erratically.

Steps to reproduce
- Add keyboard event linstener.

- Insert Activity.
- Click activity then press f2 to open inline text editor.
- Trying edit activity's label/text. but space bar is not working. Additionally, sometimes the input behaves erratically.
- Learn - Inline text editing(v4.0) is have same problem.

Version
JointJS+ 4.0.1
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
What operating system are you seeing the problem on?
Windows
Current versus expected behaviour
When using the inline text editor for the bpmn2.Activity shape in JointJS, pressing the spacebar does not insert a space. This issue prevents users from adding spaces between words, which is essential for proper text formatting. Additionally, sometimes the input behaves erratically.

Steps to reproduce
Version
JointJS+ 4.0.1
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
What operating system are you seeing the problem on?
Windows