Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect style of html tag a after pasting content with link #4466

Open
Evashasha opened this issue Oct 28, 2024 · 1 comment
Open

incorrect style of html tag a after pasting content with link #4466

Evashasha opened this issue Oct 28, 2024 · 1 comment

Comments

@Evashasha
Copy link

I've met a bug of html tag a which lost its color when it was pasted into editor.

Steps for Reproduction

  1. Visit example
  2. Copy the content of the doc link, and paste it into the editor from the link above.
  3. You'll find the last link in origin content behaved unnormal in its color style.

Expected behavior:
Just like the version 2.x.x, the link will not lose its color.

Actual behavior:
The last link in origin content lost its link color in editor.

Platforms:

Browser: Google Chrome(Version 130.0.6723.60)
MacBook Pro, MacOs 14.5

Version: 1.3.6

@BirgitPohl
Copy link

Quill adds a style directly on the anker that inherits the color from the parent.

Screenshot 2024-10-29 at 15 42 55

It would be good to remove that and leave the general style for ankers to the users of the module.

Here is a bad-practise workaround.

.quill-editor a {
    color: #yourColor !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants