#6560 (Edit formatted text fields in grid view)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Summary
Children
Comments
- 9 months, 2 weeks ago by Sharif Mehedi in reply to Luc Saffre about #6560 (Edit formatted text fields in grid view) : fixed now.
- 9 months, 2 weeks ago by Luc Saffre about #6560 (Edit formatted text fields in grid view) (1 reply) : One visible issue: after starting to edit a cell with existing content, the cursor moves after the first character.
- 9 months, 2 weeks ago by Sharif Mehedi in reply to Luc Saffre about #6560 (Edit formatted text fields in grid view) : It looks like the quill selection is at the wrong place. on quill's onReady the following code seem to fix the problem: if (quill.getLength() === 1) { setTimeout(() => { quill.setSelection(1, 0, Quill.sources.USER); }, 50); } Let's see if this solution works in production.
- 9 months, 2 weeks ago by Luc Saffre about #6560 (Edit formatted text fields in grid view) (1 reply) : Well done. There is another bug: after typing some text, the field contains an additional empty paragraph as it seems.
- 9 months, 3 weeks ago by Sharif Mehedi about #6560 (Edit formatted text fields in grid view) : Also, I removed the header from Grid views.
- 9 months, 3 weeks ago by Sharif Mehedi about #6560 (Edit formatted text fields in grid view) : After erasing the site cache manually, the Remark content can be saved with CTRL+S.
- 9 months, 3 weeks ago by Luc Saffre about #6560 (Edit formatted text fields in grid view) : NB there are actually two tables where we want this: SectionResponsesByCertificate and SectionResponsesByCourse.
- 9 months, 3 weeks ago by Luc Saffre about #6560 (Edit formatted text fields in grid view) : Yes! Great! So simple! Oops, but when I do this and start editing a body by clicking into the cell of the grid (not using the ⏏ button), then my changes don't get saved.
- 9 months, 3 weeks ago by Sharif Mehedi about #6560 (Edit formatted text fields in grid view) : Frontend implementation looks okay. It's the body_short_preview field which is appearing there as "Remark" which is inherently NOT editable. We can put "body" field there instead of "body_short_preview".
- 9 months, 3 weeks ago by Luc Saffre about #6560 (Edit formatted text fields in grid view) : For example as robin in prima, open Religion course in 6A, then activate the "Certificate sections" tab.

- 9 months, 3 weeks ago by Luc Saffre about #6560 (Edit formatted text fields in grid view) : Created new Ticket #6560 (Edit formatted text fields in grid view).