Fix html entities and newline handling (#77)

* Fix html entities and newline handling

This forces contenteditable to behave as single line input,
and properly handles html entities.

* Proposal without reacteditable

* Fix tests and re-add focus styleé

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Anders Borch
2023-04-26 11:58:40 +02:00
committed by GitHub
parent e19a85a5d0
commit 1c8a4058c3
4 changed files with 1291 additions and 1511 deletions

View File

@ -19,7 +19,6 @@
"jwt-decode": "^3.1.2",
"libphonenumber-js": "^1.10.26",
"react": "^18.2.0",
"react-contenteditable": "^3.3.7",
"react-dom": "^18.2.0",
"react-router-dom": "^6.4.4",
"web-vitals": "^2.1.4"