Skip to content

Editting the equations #30

@frankvp11

Description

@frankvp11

I must start off by saying that this project is of great help to me.
With that being said, let's get into the problem that I have been having. Essentially, this package works great when I have an API or predetermined equation being put into the formatter. However, I would like to extend this so that users can type in the equation and it automatically formats. I have tried to use a contentEditable span, however this does not preserve the formatting when they erase everything. I have also tried to use on{event in {change, input}} with a function to update the text however that didn't seem to work. Is there any way that the users can write the equations and your package auto formats it? I'm guessing this is a react/web dev concept that I have yet to learn, but hopefully it will be an easy implementation.
Thanks in advance,
Frank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions