Creating a nested span on 4th level of nesting fails
dkalpakchi opened this issue · comments
Describe the bug
Attempting to create the span that covers 2 already existing spans, fails. Interestingly, this fails only if the first span already has 3+ levels of nesting.
To Reproduce
- Get the spans and create a selection as in picture 1
- Attempt to create a new span over the 2 in picture 1 (see result in picture 2)
Expected behavior
The span should be created correctly
Textinator version
Latest
Desktop (please complete the following information):
- OS: Ubuntu 22.10
- Browser: Firefox
- Version: 110