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

Selected non-default text class does not render after edit and received update from backend #172

Closed
proycon opened this issue Apr 6, 2021 · 1 comment
Assignees

Comments

@proycon
Copy link
Owner

proycon commented Apr 6, 2021

reported in #170 by @pirolen:

After submitting entity annotations, the sentence where it belongs to fully disappears from the text area of FLAT.
(I attach a screenshot -- the html is there, but invisible -- hovering over the area shows the infos/added annotation.)

For the text to reappear, I have to reload the page (or the doc), or change back from the "current" text class -- if it is getting available, sometimes, but in those cases also with 'invisible' html -- to the original text class ("OCR") .

image

It seems something was missed after implementing #139

@proycon proycon added the bug label Apr 6, 2021
@proycon proycon self-assigned this Apr 6, 2021
@proycon proycon changed the title Selected non-default text class does not rendered after edit Selected non-default text class does not render after edit and received update from backend Apr 6, 2021
@proycon proycon added the to do label Apr 6, 2021
@proycon
Copy link
Owner Author

proycon commented Apr 6, 2021

i reproduced this. the 'html' part of the response returns the structure but no placeholders for labels and no text.

<div id=\"FA-b1_3_1_mwtext_vorbemerk_pp61_67_001.text.div1.p40.s.1.w.1\" class=\"F w deepest\">&nbsp;</div>

Rendering text should have been handled by rendertextclass() but this does not get called after the partial update (which is probably the bug)

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

1 participant