Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

v4.0.0

Compare
Choose a tag to compare
@RomainCscn RomainCscn released this 18 Oct 09:41
· 94 commits to master since this release

Features

  • New events to be notified of editor changes.
  • New unloaded flag to control component state. load event will be trigger once the editor will be fully loaded.
  • New not mutable configuration attribute. Changing the configuration will clear the underlying editor, all currents strokes and results will be lost. To do it, set unloaded=true after changing configuration, and wait for a load event.
  • New read-only editor property that allow you to access to the underlying editor object (see MyScriptJS documentation for more details).
  • New CSS variables to customize the web-component. See customize_style.html as an example.

Breaking changes

  • Complete rewrite of the underlying javascript library with ES6 syntax
  • Internal design improved to allow extensibility and support of upcoming recognition types. Documentation and illustrating samples to come in next release.
  • Removal of all deprecated attributes and methods
  • All events has been renamed. See the documentation to discover new behavior.
  • resulttypes, language, typeset, textparameters, mathparameters, shapeparameters, musicparameters, analyzerparameters are replaced by the unique configuration attribute (see MyScriptJS documentation for a complete spec).
  • Renamed timeout attribute to recognitiontriggerdelay
  • Renamed delete() property to clear()
  • Changed ssl attribute to a scheme attribute (i.e. ssl=true will be replaced by scheme=https)
  • getAvailableLanguages() have been replaced by a new web-component. You can use it to retrieve the list of available languages for your configuration.

Bugs fixed

  • User can no longer write when an unrecoverable error is detected forcing him to reload the page. See handle_error.html to see how it works.

For more details about attributes, look at the documentation.

Limits

  • myscript-text-web does not support pure shadow DOM. Still some issues to use underlying css.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy