Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

UI to insert some unicode characters or math constructions #6

Open
fred-wang opened this Issue Feb 20, 2014 · 1 comment

Comments

Projects
None yet
2 participants

It could be helpful if the edit box have some buttons to insert:

  • unicode characters: greek letters, etc
  • math constructions: \frac{}{} \sqrt{} etc

(see http://fred-wang.github.io/MozSummitMathML/editor.html for some ideas)

If some text is selected, the unicode characters could replace the selection.

For constructions, the selection could be used as an argument. For example if you type "2+y", select the "y" and press the "fraction" button, the new source will be "2+\frac{y}{}". This is similar to what we sometimes find on forums with e.g. [b]...[/b] commands to make text bold.

Owner

rgaiacs commented Mar 10, 2014

It could be helpful if the edit box have some buttons to insert:

  • unicode characters: greek letters, etc
  • math constructions: \frac{}{} \sqrt{} etc

Agree. Unfortunately CKEditor API don't make easy to add this feature:

  • CKEditor button in the dialog window only accept text,
  • CKEditor html in the dialog window have problems with CSS, ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment