Skip to content

[ux/skeleton] Word Processor-like handling for list elements + Updated platform restriction keys#781

Merged
btopro merged 4 commits intohaxtheweb:masterfrom
winstonwumbo:master
Mar 6, 2026
Merged

[ux/skeleton] Word Processor-like handling for list elements + Updated platform restriction keys#781
btopro merged 4 commits intohaxtheweb:masterfrom
winstonwumbo:master

Conversation

@winstonwumbo
Copy link
Contributor

New Features

  • Outdenting no longer removes the entire nested list (OL/UL). It will only affect the currently selected LI and leave any siblings alone.
    • Based on the sibling count, new list elements will be created above and/or below the outdented LI.
    • This behavior is fairly similar to what users expect from word processors like M365, Google Docs, and LibreOffice
  • The internal logic also resolves if there are multiple nested lists that have separate HAX contexts, but are: 1) directly adjacent, 2) the same type (both UL), and 3) the same indent-level.
    • When this is the case, it will automatically merge them into a single list.
    • This prevents some previous issues where users could make a dozen nested lists on accident (when indenting lines one-by-one).
  • When users cancel out the OL/UL buttons, it converts the element to a <p> tag. HAX now preserves nested lists as children under the <p>, rather than wiping them all into raw text.
    • This is another similar behavior to word processors.
  • Fixed an older issue where outdenting into a <p> would unwrap the parent OL/UL, but retain an uneditable LI wrapper
  • Updated the platform-ui with the latest option keys from recent whiteboarding discussions. Also splits out the manifest key into individual keys for each Settings tab.

@winstonwumbo winstonwumbo requested a review from btopro as a code owner March 5, 2026 22:40
@vercel
Copy link

vercel bot commented Mar 5, 2026

@winstonwumbo is attempting to deploy a commit to the HAXTheWeb Team on Vercel.

A member of the Team first needs to authorize it.

@btopro btopro merged commit 975dd95 into haxtheweb:master Mar 6, 2026
2 of 3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants