Hi everybody.
I recently setted up NetlifyCMS in my blog, almost everything works perfectly, but there is something weird with the UI text editor. The ordered and unordered lists are not created continuously, I will show you with a video.
Example video
Thanks for your help.
jen
June 14, 2020, 10:33pm
2
Hey @haldrik ,
Thanks for the report! I’ve added it to a related issue in the netlify-cms repo on Github. Feel free to chime in with more information or follow along there:
opened 06:30PM - 07 Jan 20 UTC
kind: bug
status: confirmed
area: extensions/widgets/markdown
<!--
If you are reporting a new issue, make sure that we do not have any duplic… ates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please add a comment to the existing issue instead.
Please include as much of the information requested below as possible. If you fail to provide the requested information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
If you have an issue that can be shown visually, please provide a screenshot or GIF of the problem as well.
-->
**Describe the bug**
Tabbing and untabbing a nested list item causes unexpected indentation of its siblings
**To Reproduce**
<!--
Steps to reproduce the behavior. For example:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
-->
1. Create a list item with a nested list inside
2. Set the cursor on a list item in the nested list
3. Press <kbd>Shift</kbd>+<kbd>Tab</kbd>
4. The list item is unindented to be sibling to the parent list item, while its original siblings remain in place
5. Press <kbd>Shift</kbd>
6. The list item is indented back to its original place as expected, but the original siblings are indented further so they remain children of the indented list item
**Expected behavior**
A list item with a nested list should only indent its child list on tab if the child list is selected, otherwise only the list item itself should be indented.
**Screenshots**
![nested-list-tab](https://user-images.githubusercontent.com/2112202/71919082-ca0a3500-3151-11ea-855e-d9f9df36d54e.gif)
**Applicable Versions:**
- Netlify CMS version: 2.10.2
1 Like