Skip to content

Feature request: set text range background  #4

@ghost

Description

Hi Tomas,
Would it be possible to look into adding a couple of method to set and apply a background color to selected ranges within text?

The functionality I am hoping to achieve is to store the ranges selected by the user for a given text string and give them the option to show/hide background color for those ranges.

For example:
myRange = textAreaCSS.getSelection();
myRange.setBackground(Color c);
myRange.showBackground(true);

Thanks for your help with this.
Best regards,
Maher

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions