commit | a923b54e0bcb0f7fed13d064204b8a15542d1d06 | [log] [tgz] |
---|---|---|
author | Jason Merrill <jwmerrill@gmail.com> | Fri Aug 11 15:40:16 2017 -0700 |
committer | Jason Merrill <jwmerrill@gmail.com> | Fri Aug 11 15:47:22 2017 -0700 |
tree | 9cfdbe0c779fc3f53646ba82923ab35451fa130e | |
parent | ddc2b8e39087a598dcfe2563a4100a21664d958b [diff] |
Fix Ctrl-Backspace and Ctrl-Del. There were two problems here: 1. dir was passed into ctrlDeleteDir, but was ignored, so Ctrl-Del behaved the same as Ctrl-Backspace. 2. dir was not being passed to deleteDir in the short-circuit case, which caused a prayer that expected a direction in deleteDir to fail. Adds some test coverage to both the non-empty and empty-cases of ctrlDeleteDir.
by Han, Jeanine, and Mary (maintainers@mathquill.com)
MathQuill is a web formula editor designed to make typing math easy and beautiful.
The MathQuill project is supported by its partners. We hold ourselves to a compassionate Code of Conduct.
MathQuill is resuming active development and we‘re committed to getting things running smoothly. Find a dusty corner? Let us know in Slack. (Prefer IRC? We’re #mathquill
on Freenode.)
MathQuill has a simple interface. This brief example creates a MathQuill element and renders, then reads a given input:
var htmlElement = document.getElementById('some_id'); var config = { handlers: { edit: function(){ ... } }, restrictMismatchedBrackets: true }; var mathField = MQ.MathField(htmlElement, config); mathField.latex('2^{\\frac{3}{2}}'); // Renders the given LaTeX in the MathQuill field mathField.latex(); // => '2^{\\frac{3}{2}}'
Check out our Getting Started Guide for setup instructions and basic MathQuill usage.
Most documentation for MathQuill is located on ReadTheDocs.
Some older documentation still exists on the Wiki.
The Source Code Form of MathQuill is subject to the terms of the Mozilla Public License, v. 2.0: http://mozilla.org/MPL/2.0/
The quick-and-dirty is you can do whatever if modifications to MathQuill are in public GitHub forks. (Other ways to publicize modifications are also fine, as are private use modifications. See also: MPL 2.0 FAQ)