epam / epam/UUI

[RTE]: incorrect link editing in Safari

Open
#1,986 0 comments 0 reactions 0 assignees View on GitHub
bug RTE Safari
Dominant language
TypeScript
Stars
247
Forks
78
Avg merge
14h 27m
Merged PRs (30d)
15

Description

## Case 1
### Description
When User selects only the first part of a hyperlink and tries to change the link, the entire paragraph becomes a link.

### Steps to Reproduce
1. Open [RTE](https://uui.epam.com/documents?id=richTextEditor&mode=doc&isSkin=null&category=components).
2. Make any word a hyperlink.
3. Select only the first part of the created hyperlink.
4. Change the link to a new one.

### Actual result
The entire paragraph becomes a link.

https://github.com/epam/UUI/assets/57751283/df7c6bda-5969-4b7f-b25d-2dc5c6a4b4ec

### Expected result
Only the original hyperlink remains a link.

## Environment
* UUI version: 5.6.0
* Browser name: Safari
* Operating System: MacOS

## Case 2
### Description
When copying text containing links from Word, the link style differs from the standard

### Steps to Reproduce
1. Open [RTE](https://uui.epam.com/documents?id=richTextEditor&mode=doc&isSkin=null&category=components).
2. Copy text containing links from Word.
3. Paste the text in the RTE.

### Actual result
The link style differs in Chrome and Safari
Screenshot 2024-07-08 at 14 36 42

### Expected result
The links should be blue and underlined.

## Environment
* UUI version: 5.8.1
* Browser name: Safari
* Operating System: MacOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.