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

Comments are detached when replacing section even if <annotation> is preserved #91

Open
Songyu-Wang opened this issue Apr 20, 2021 · 0 comments

Comments

@Songyu-Wang
Copy link

Songyu-Wang commented Apr 20, 2021

Hello,
For a given section, such as:
<p class=“line” id=“NdYACAiKGrW”><annotation class=“c9 h2” id=“IWdACAjH0IG”>123(<a href=“https://456>456</a>)</annotation></p>

I want to replace it to
<p class=“line” id=“NdYACAiKGrW”><annotation class=“c9 h2” id=“IWdACAjH0IG”>123(<a href=“https://4567>4567</a>)</annotation></p>

Even though the annotation and its id are not changed. The comment is detached after this operation. UI indicates that These comments refer to a section of the document that has been deleted

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

No branches or pull requests

1 participant