logseq icon indicating copy to clipboard operation
logseq copied to clipboard

Deviating behavior on making selection inline math

Open petrushy opened this issue 3 years ago • 1 comments

What happened?

For underline, bold, etc it is possible to select a text and then writing two characters corresponding to the type requested (such as = =). The text selected is not deleted then, control characters added on each side of selection.

For inline math, the selected text is removed but start and end $$ $$ is added. The expected behaviour I think is to keep the text and add $$ on each side.

Reproduce the Bug

1 select test in block 2 type $$ 3 observe selection being deleted.

Expected Behavior

No response

Screenshots

No response

Desktop Platform Information

windows, logseq 0.8.7

Mobile Platform Information

No response

Additional Context

No response

petrushy avatar Sep 18 '22 14:09 petrushy

PR is welcome for adding the autocomplete support.

cnrpman avatar Sep 19 '22 03:09 cnrpman