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

Indenting and outdenting a list with an item with list style type causes inconsistent behavior #1207

Open
BryanValverdeU opened this issue Aug 25, 2022 · 2 comments
Assignees

Comments

@BryanValverdeU
Copy link
Contributor

BryanValverdeU commented Aug 25, 2022

Indenting and outdenting a list with an item with list style type causes inconsistent behavior.

When outdenting or indenting the item should automatically get the new list item type according to the list level, but if the list item contains a custom list style type, this is not happening.

WordPast2

Originally posted by @BryanValverdeU in #1200 (comment)

Snapshot
<div style="font-family: &quot;Segoe UI&quot;, &quot;Segoe UI Web (West European)&quot;, &quot;Segoe UI&quot;, -apple-system, BlinkMacSystemFont, Roboto, &quot;Helvetica Neue&quot;, sans-serif; font-size: 10.5pt; color: rgb(255, 255, 255) !important; background-color: rgb(51, 51, 51) !important;" data-ogsc="rgb(0, 0, 0)" data-ogsb="rgb(255, 255, 255)"><div style="margin: 0px; user-select: text; cursor: text; clear: both; color: rgb(255, 255, 255) !important; font-family: &quot;Segoe UI&quot;, &quot;Segoe UI Web&quot;, Arial, Verdana, sans-serif; font-size: 12px; background-color: rgb(51, 51, 51) !important;" data-ogsc="rgb(0, 0, 0)" data-ogsb="rgb(255, 255, 255)"><p lang="EN-US" style="margin: 0px; user-select: text; overflow-wrap: break-word; white-space: pre-wrap; font-weight: normal; font-kerning: none; text-align: left; color: rgb(147, 173, 248) !important;" data-ogsc="rgb(47, 84, 150)"><span data-contrast="none" lang="EN-US" style="margin:0px;user-select:text;font-variant-ligatures:none !important;font-size:16pt;line-height:28.0583px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif"><span data-ccp-parastyle="heading 1" style="margin:0px;user-select:text">Test</span></span><span data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;134245418&quot;:true,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:0,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259}" style="margin:0px;user-select:text;font-size:16pt;line-height:28.0583px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif">&nbsp;</span></p></div><div style="margin: 0px; user-select: text; cursor: text; clear: both; color: rgb(255, 255, 255) !important; font-family: &quot;Segoe UI&quot;, &quot;Segoe UI Web&quot;, Arial, Verdana, sans-serif; font-size: 12px; background-color: rgb(51, 51, 51) !important;" data-ogsc="rgb(0, 0, 0)" data-ogsb="rgb(255, 255, 255)"><p lang="EN-US" style="margin:0px;user-select:text;overflow-wrap:break-word;white-space:pre-wrap;font-weight:normal;font-kerning:none;text-align:left"><span data-contrast="auto" lang="EN-US" style="margin:0px;user-select:text;font-variant-ligatures:none !important;font-size:11pt;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif"><span style="margin:0px;user-select:text">Test</span></span><span data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259}" style="margin:0px;user-select:text;font-size:11pt;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif">&nbsp;</span></p></div><ol start="1"><li data-leveltext="%1." data-font="Calibri" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" data-aria-posinset="1" data-aria-level="1" style="user-select:text;cursor:text;clear:both;font-size:11pt;font-family:Calibri, Calibri_MSFontService, sans-serif"><p lang="EN-US" style="margin:0px;user-select:text;overflow-wrap:break-word;white-space:pre-wrap;font-weight:normal;font-kerning:none;text-align:left"><span data-contrast="auto" lang="EN-US" style="margin:0px;user-select:text;font-variant-ligatures:none !important;line-height:19.425px;font-family:Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif"><span style="margin:0px;user-select:text">Test</span></span><span data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259}" style="margin:0px;user-select:text;line-height:19.425px;font-family:Calibri, Calibri_EmbeddedFont, Calibri_MSFontService, sans-serif">&nbsp;</span></p></li><ul><li data-leveltext="▫" data-font="Courier New" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Courier New&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;▫&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" data-aria-posinset="1" data-aria-level="2" style="user-select:text;cursor:text;clear:both;font-size:16pt;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif;list-style-type:&quot;▫ &quot;"><p lang="EN-US" style="margin:0px;user-select:text;overflow-wrap:break-word;white-space:pre-wrap;font-weight:normal;font-kerning:none;text-align:left"><span data-contrast="auto" lang="EN-US" style="margin:0px;user-select:text;font-variant-ligatures:none !important;font-size:11pt;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif"><span style="margin:0px;user-select:text">Test</span></span><span data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:1440,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259,&quot;335559991&quot;:360}" style="margin:0px;user-select:text;font-size:11pt;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif">&nbsp;</span></p></li></ul></ol><div style="margin: 0px; user-select: text; cursor: text; clear: both; color: rgb(255, 255, 255) !important; font-family: &quot;Segoe UI&quot;, &quot;Segoe UI Web&quot;, Arial, Verdana, sans-serif; font-size: 12px; background-color: rgb(51, 51, 51) !important;" data-ogsc="rgb(0, 0, 0)" data-ogsb="rgb(255, 255, 255)"><p lang="EN-US" style="margin:0px;user-select:text;overflow-wrap:break-word;white-space:pre-wrap;font-weight:normal;font-kerning:none;text-align:left"><span data-contrast="auto" lang="EN-US" style="margin:0px;user-select:text;font-variant-ligatures:none !important;font-size:11pt;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif"><span style="margin:0px;user-select:text">Test</span></span><span data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259}" style="margin:0px;user-select:text;font-size:11pt;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif">&nbsp;</span></p></div><ol start="2"><li data-leveltext="%1." data-font="Calibri" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" data-aria-posinset="2" data-aria-level="1" style="user-select:text;cursor:text;clear:both;font-size:11pt;font-family:Calibri, Calibri_MSFontService, sans-serif"><p lang="EN-US" style="margin:0px;user-select:text;overflow-wrap:break-word;white-space:pre-wrap;font-weight:normal;font-kerning:none;text-align:left"><span data-contrast="auto" lang="EN-US" style="margin:0px;user-select:text;font-variant-ligatures:none !important;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif"><span style="margin:0px;user-select:text">Test</span></span><span data-ccp-props="{&quot;201341983&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259}" style="margin:0px;user-select:text;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif">&nbsp;</span></p></li><ul><li data-leveltext="▫" data-font="Courier New" data-listid="1" data-list-defn-props="{&quot;335552541&quot;:1,&quot;335559684&quot;:-2,&quot;335559685&quot;:1440,&quot;335559991&quot;:360,&quot;469769226&quot;:&quot;Courier New&quot;,&quot;469769242&quot;:[8226],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;▫&quot;,&quot;469777815&quot;:&quot;hybridMultilevel&quot;}" data-aria-posinset="2" data-aria-level="2" style="user-select:text;cursor:text;clear:both;font-size:11pt;font-family:Calibri, Calibri_MSFontService, sans-serif;list-style-type:&quot;▫ &quot;"><p lang="EN-US" style="margin:0px;user-select:text;overflow-wrap:break-word;white-space:pre-wrap;font-weight:normal;font-kerning:none;text-align:left"><span data-contrast="auto" lang="EN-US" style="margin:0px;user-select:text;font-variant-ligatures:none !important;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif"><span style="margin:0px;user-select:text">Test</span></span><span data-ccp-props="{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559685&quot;:1440,&quot;335559737&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:259,&quot;335559991&quot;:360}" style="margin:0px;user-select:text;line-height:19.425px;font-family:&quot;Calibri Light&quot;, &quot;Calibri Light_EmbeddedFont&quot;, &quot;Calibri Light_MSFontService&quot;, sans-serif">&nbsp;</span></p></li></ul></ol><br></div><!--{"type":0,"isDarkMode":true,"start":[0,0,0,0,0,0,0],"end":[0,0,0,0,0,0,0]}-->

@romanisa
Copy link
Contributor

@BryanValverdeU are you already working on this?

@BryanValverdeU
Copy link
Contributor Author

@romanisa no, I am not working on this issue

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

2 participants