Skip to content

RichText.Clear method causes issue where new rich text is not applied. #2138

@AdrianEPPlus

Description

@AdrianEPPlus

The following code makes cell.RichText collection stay empty when working with richText. This is caused by Clear().

            var richText = cell.RichText;
            cell.RichText.Clear();
            cell.Value = text;
            richText = cell.RichText;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions