#1773, #1542: better handling of interaction with the virtual keyboard
on touch-based devices (always use PointerEvents to handle interaction with
keycaps)
#1035 Removing the last mathfield element from a page could result in math
content rendered with renderMathInElement() to no longer be rendered
correctly (the necessary stylesheet was erroneously removed).
#1791 The "aside" labels in the virtual keyboard were barely visible in
dark mode.
#1726 Deleting the last element of a fraction also deletes the fraction
#1764 The MathML serialization for superscripts and subscripts was
invalid.
#1790 Annotations from the \enclose command could not be displayed in
some cases if the z-index of the expression they decorated had certain
values.
0.86.0 (2022-12-02)
Breaking Changes
The Compute Engine has been split from MathLive to reduce the package size and
improve the TTI (Time To Interactive) metric. The Compute Engine now needs to
be loaded separately:
import { ComputeEngine } from 'https://unpkg.com/@cortex-js/compute-engine@latest/dist/compute-engine.min.esm.js';
to create custom Compute Engine instances, which can then be associated with a
mathfield using mf.setOptions({computeEngine: ce}) or mf.computeEngine = ce.
If the Compute Engine library is not loaded, some functionality of the mathfield
will not be available: mf.expression will always return null and cannot be
used to change the content of the mathfield, and math-json is not available as
a format on the clipboard,
Bug Fixes
The vertical placement of the superscript after a \left...\right command was
incorrect.
Extensible arrows with superscript or subscript would not serialize the
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mathlive from 0.79.0 to 0.86.1.
Changelog
Sourced from mathlive's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)