rgaiacs / CKEditor-TeXZilla

Plugin for use TeXZilla with CKEditor
www.ime.unicamp.br/~ra092767/ck4.html
Mozilla Public License 2.0
1 stars 1 forks source link

UI to insert some unicode characters or math constructions #6

Open fred-wang opened 10 years ago

fred-wang commented 10 years ago

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

(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.

rgaiacs commented 10 years ago

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: