Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

v0.10.0

Compare
Choose a tag to compare
@Reinmar Reinmar released this 07 May 21:45
· 3366 commits to master since this release

Bug fixes

  • DomConverter#domToView() will not throw when converting a comment. Closes #647. (ffc41d4)

  • ViewConverterBuilder#fromAttribute() should not create incorrect matcher object for Matcher if passed attribute was other than class or style. Closes #919. (6701c4b)

    Minor upgrades to ViewConversionBuilder:

    • converters from ViewConversionBuilder will not convert if "creator function" returned null.
    • simplified view converters building by making ViewConversionBuilder#toAttribute() value param optional. If not set, the attribute value is taken from converted view element.
  • Improved compatibility with MS Edge. See #923. Closes #925. (1af4a50)

  • Improved performance of the view.Element's inline styles parser. Big property values (like base64 encoded images) should not crash the editor anymore. Closes #881. (3d494a3)

  • Removed invalid promise catches from dev-utils.DeltaReplayer. Closes #906. (69cfdd1)

  • Unified values returned in data.output during view-to-model conversion. See breaking changes. Closes #932. (16ae05a)

Features

  • Allow passing ranges to the selection constructors (in the model and in the view). Closes #600. (da8a609)
  • Events fired by model.MarkerCollection will now include marker name after semicolon. Closes #911. (3a8ebed)

Other changes

  • model.Element#clone() now does not clone children when passed false and recursively clones children when passed true. Closes #689. (ccb0659)

BREAKING CHANGES

  • ViewConversionDispatcher#convert() will always return model.DocumentFragment (which may be empty in various cases). conversionApi#convertItem() will log a warning if data.output contains a different value than model.Node or model.DocumentFragment or null. conversionApi#convertChildren() will always return model.DocumentFragment.
  • model.Element#clone() does not clone children when not in the deep mode. See #689.