Changelog
0.91.0 2023-04-04
In this release the UI of the virtual keyboards has been significantly updated. This includes new virtual keyboards as well as updated layout for existing virtual keyboards and support for shift key modifier for many keycaps.
--keycap-modifier-background
,
--keycap-modifier-background-hover
, --keycap-modifier-text
,
--keycap-modifier-border
and --keycap-modifier-border-bottom
have been
renamed --keycap-secondary-background
, -keycap-secondary-background-hover
,
--keycap-secondary-text
, --keycap-secondary-border
and
--keycap-secondary-border-bottom
, respectively.modifier
to shift
data-shifted
and data-shifted-command
attributes are no
longer supported.classes
property in the JSON description of custom layouts has been
renamed to labelClass
styles
property in the JSON description of a custom layer has been
renamed to style
[left]
keycap shortcut represent the left arrow key. See the
documentation
for more details.width
propertyminimalist
: a small keyboard with only two rows of keycaps containing
digits and basic operations.compact
: similar layout to minimalist
, but the keycaps include variantsnumeric-only
: a keyboard with only digits, the decimal marker and the
minus sign. To use them, use mathVirtualKeyboard.layouts = "minimalist"
--keycap-max-width
: define the maximum with of a keycap, including its
margin--keycap-gap
: define the space between keycapsmathVirtualKeyboard.show()
function now has an optional argument to
animate or not the virtual keyboard. The default is to animate, as per
previous behavior.file://
protocol, that is from
a local file, the keyboard will now work, as long as the mathfields are in the
main document, and not in another browsing context such as an iframe.Changelog
0.90.11 2023-03-31
Changelog
0.90.9 2023-03-28
Changelog
0.90.8 2023-03-27
originValidator
policy which controls the messaging between a
mathfield and the virtual keyboard is now "none"
by default. This provides
no check or validation when sending messages between a main document and
embedded iframes. To use the previous, more secure, policy, set the
originValidator
property of the mathVirtualKeyboard
and any mathfield to
"same-origin"
.Changelog
0.90.7 2023-03-24
Changelog
0.90.6 2023-03-23
mf.setPromptValue()
could cause runtime errorsmf.insert()
to replace a selection would do nothingmf.macros
) were missing.