Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug on Verse and Chapter Editor when editing first characters of USFM table cells #911

Open
aranggitoar opened this issue Jul 21, 2023 · 2 comments
Assignees

Comments

@aranggitoar
Copy link
Contributor

Screencast.from.2023-07-21.12-03-11.webm

As discussed in #860, when editing the first character of a USFM table cell, the cursor goes back to the previous table cell instead of the currently edited table cell.

@aranggitoar aranggitoar self-assigned this Jul 21, 2023
@aranggitoar
Copy link
Contributor Author

The bug seems to appear on editing USFM markers that separate a verse into more smaller parts. Here you can see the same bug appearing in Strong's indexed words:

Screencast.from.2023-07-26.02-17-50.webm

Though it doesn't skip the first character, it doesn't edit the current word when the cursor is in the beginning of a word.

So when removing a space between two Strong's indexed words, it deletes the \w USFM word boundary, which is a span with an i-w class in HTML. As shown here:

Screencast.from.2023-07-26.02-13-30.webm

@teusbenschop, looking at this for a couple of days, I'm still a little clueless as to where might we fix this. Do you have any pointers?

My only thoughts for now that this is related to Quill editor's cursor and/or word boundary handling.

@teusbenschop
Copy link
Member

My only thoughts for now that this is related to Quill editor's cursor and/or word boundary handling.

I agree, it looks like this is the case here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants