CommunityToolkit/WindowsCommunityToolkit

TextToolbar ordered List numeration error

Open

#2,759 创建于 2019年1月22日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)C# (1,403 fork)batch import
bug :bug:controls :control_knobs:help wantedmarkdown 📑no-recent-activity :chart_with_downwards_trend:

仓库指标

Star
 (5,708 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior

When using a Ordered List in Rich Text format, the numbers jump from "9", to ":" and then "21" (First attached Image), and repeats the same every 10 elements.

When on Markdown if you insert ten elements and apply the ordered list property, but delete the first two, in the text editor your list will start with the number 3, while the Markdown Preview will start on number 1(Second attached Image).

c53e19d5-cbfe-4591-bd9a-2f9b6638ba31

9a58ddbd-b3d6-40eb-a711-e8f6037717f6

Expected behavior

It should order the numbers correctly.

Minimal reproduction of the problem with instructions

When Opening the sample app, go to Control -> TextToolbar, press the ordered lists button, and insert more than ten items.

Environment

Nuget Package(s): 5.0.0

Package Version(s): 

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [ ] Insider Build (build number: )

App min and target version:
- [x] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Mobile
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [x] 2017 (version: Community 15.9.5 )
- [ ] 2017 Preview (version: )

贡献者指南