#4082 (Quill in grid: pressing Enter button doesn't go to next line, instead goes to next row.)
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Résumé
Concepts sous-jacents
Commentaires
- 5 ans, 6 mois ago by Sharif Mehedi about #4082 (Quill in grid: pressing Enter button doesn't go to next line, instead goes to next row.) : Now that this is done I want to see If I can add button on the quill toolbar. If I become successful it will fun to edit on quill in grid.
- 5 ans, 6 mois ago by Sharif Mehedi about #4082 (Quill in grid: pressing Enter button doesn't go to next line, instead goes to next row.) : Quill has nice API to do things in the editor programmatically. But unfortunately primereact Editor does not give access to those API. I managed bind RETURN key to a handler function that inserts a "\n" at the cursor.index. If we had access to quill API we could use the nice quill.insertText function...
- 5 ans, 6 mois ago by Sharif Mehedi about #4082 (Quill in grid: pressing Enter button doesn't go to next line, instead goes to next row.) : I removed some unnecessary stuff (from TextFieldElement.js) which update the state of the component for no apparent reason. But removing those stuff seem to cause more trouble in the such a setup like "quill in grid". Trouble as in, react doesn't give the existing value to quill - at editor initiali...