Skip to content

getSelectionCustomInlineStyle does not return values for multiple styles #37

Description

@seleckis

E.g. if is set 'FONTSIZE' for one part of text, and same style but with different value for another, and we select the whole text, then getSelectionCustomInlineStyle returns FONTSIZE: undefined. Seams it should return an array of styles, like: ["fontsize-30", "fontsize-22"].

This can be reproduced in https://github.com/jpuri/react-draft-wysiwyg

I'm posting it here, because react-draft-wysiwyg is utilizing this function, which should do its job better. :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions