v0.0.15
Pre-release
Pre-release
0.0.15 (July 1, 2017)
New Features
- Properly exported public API, including
renderMathInDocument()and
renderMathInElement() - Added \enclose command, implementing the MathML equivalent.
- Added \cancel, \bcancel and \xcancel commands
- Added
preserveOriginalContentoption toMathLive.renderMathIn...() - Made
\backslashwork in text mode, for example when an argument of\rlap{} - Added
MathField.revertToOriginalContent()when a math field is no longer
needed for an element - Added customization of the command bar. See
MathField.config()and
config.commands - Added
MathLive.revertToOriginalContent()andMathLive.getOriginalContent() - Added optional namespacing of
data-attributes - Added
onContentWillChangeandonContentDidChangehandlers in the math
field config object. - Added tutorials and improved documentation
Bug Fixes
- Fixed #5: AZERTY keyboard input was misbehaving, particularly for the
^key - Dead keys (
´,^,¨,˜and others on some keyboards) were not properly
handled - Complex emojis (emojis made of multiple codepoints, such as emojis with skin
tone modifiers, or emojis with a ZERO WIDTH JOINER, such as the David Bowie
emoji) would be incorrectly recognized as multiple symbols - Fixed the
\colorcommand - Properly roundtrip to LaTeX
\rlap,\colorand many other commands. Now,
copying content using these commands in a math field will result in the correct
LaTeX code to be generated.