Skip to content

feat: Easily un-parenthesize selected math - #356

Open
cootshk wants to merge 1 commit into
desmosinc:mainfrom
cootshk:feat/unparen
Open

feat: Easily un-parenthesize selected math#356
cootshk wants to merge 1 commit into
desmosinc:mainfrom
cootshk:feat/unparen

Conversation

@cootshk

@cootshk cootshk commented Aug 1, 2026

Copy link
Copy Markdown

Currently, in Desmos, if you select "abc" and hit the ( key, MathQuill automatically inserts parentheses to become "(abc)".

This PR does the reverse: "(abc)" when hitting ( becomes "abc". (the text is deselected similarly to how adding a paren deselects it)

(I can't test this in Desmos for obvious reasons, but it works in the MathQuill test suite. (All the failing tests were failing before.))

Closes #151.

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

Successfully merging this pull request may close these issues.

Highlighting and typing "(" should clear the contents instead of wrapping

1 participant