GroupDocs.Editor for .NET 24.8 Release Notes

GroupDocs.Editor for .NET version 24.8 brings a set of new features, bug fixes, and improvements to enhance the user experience and functionality. Detailed information about these changes is provided below.

Full List of Issues Covering All Changes in This Release

KeyCategorySummary
EDITORNET-2823New FeatureRefactor the Formats.IDocumentFormat class in GroupDocs.Editor to address issues encountered in Node.js environments.
EDITORNET-2828TaskCreate Editor Constructor Without Delegate
EDITORNET-2819BugException is thrown when saving edited HTML document with background color applied to text

New Features and Improvements

New Editor Constructors

To provide more flexibility and ease of use, new constructors have been introduced for the Editor class:

  • Editor(DocumentFormatBase): Initializes a new instance of the Editor class and creates a new empty document based on the specified format.
  • Editor(Stream): Initializes a new Editor instance with the specified input document (as a stream).
  • Editor(Stream, ILoadOptions): Initializes a new Editor instance with the specified input document (as a stream) along with its load options.
  • Editor(string, ILoadOptions): Initializes a new Editor instance with the specified input document (as a full file path) along with its load options.

Deprecation of Obsolete Constructors

The following constructors have been marked as obsolete and will be removed in future releases:

  • Editor(Func): Initializes a new Editor instance with the specified input document (as a stream).
  • Editor(Func, Func): Initializes a new Editor instance with the specified input document (as a stream) along with its load options.
  • Editor(string, Func): Initializes a new Editor instance with the specified input document (as a full file path) along with its load options.

Bug Fixes

  • Exception When Saving Edited HTML Document with Background Color: Fixed an issue where an exception was thrown when saving an edited HTML document that had a background color applied to the text.

Public API and Backward Incompatible Changes

New Constructors:

  • Editor(DocumentFormatBase)

    Initializes a new instance of the Editor class and creates a new empty document based on the specified format.

  • Editor(Stream)

    Initializes a new Editor instance with the specified input document (as a stream).

  • Editor(Stream, ILoadOptions)

    Initializes a new Editor instance with the specified input document (as a stream) along with its load options.

  • Editor(string, ILoadOptions)

    Initializes a new Editor instance with the specified input document (as a full file path) along with its load options.

Obsolete Constructors:

  • Editor(Func<Stream>)

    Initializes a new Editor instance with the specified input document (as a stream).

  • Editor(Func<Stream>, Func<ILoadOptions>)

    Initializes a new Editor instance with the specified input document (as a stream) along with its load options.

  • Editor(string, Func<ILoadOptions>)

    Initializes a new Editor instance with the specified input document (as a full file path) along with its load options.