Transkribus / TWI-edit

[DEPRECATED] editing app for Transkribus Web Interface
GNU General Public License v3.0
3 stars 1 forks source link

Line by Line - editing issues #74

Closed hackmanschorsch closed 6 years ago

hackmanschorsch commented 6 years ago

Steps to reproduce:

kansallisarkisto commented 6 years ago

Assigning this to myself because I'm working on the caret issue right now. Its incorrect placement seems to have something to do with the Firefox bug which causes it to disappear altogether. When it's invisible, text is still entered into the correct position but the code for obtaining the caret character offset doesn't work and hence it ends up in the wrong location when the line list is recreated. This problem is highly likely to be related IMHO.

jnphilipp commented 6 years ago

In line 219 of correct.html I have selectionData = [["{{ line|get_item:"@id" }}", 0, 0]];, might that be the reason.

cziaarm commented 6 years ago

@kansallisarkisto caret issues: #74, #20, #34 potentially can be "lived with" for this iteration and handled in subsequent iterations

hackmanschorsch commented 6 years ago

Seems the caret is solved in the version mc-v0.02 (24/10/2017). But another bug occured: Selecting a word and typing a new character (e.g. when the selected word is wrong and you want to type the right one instead of this) then some text (from the cache??) is copied after the newly typed character and you get accidental text.

hackmanschorsch commented 6 years ago

@cziaarm @kansallisarkisto Think we should spend all efforts to resolve the bug from the last commit. This one causes a really bad user experience.

kansallisarkisto commented 6 years ago

Are there still problems related to this?