Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Fixed color example to get along with other inline styles #3108

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yucatio
Copy link

@yucatio yucatio commented Jan 30, 2022

Summary

I fixed the color example. The previous example works perfectly if only color is selected.
But when I use color example with other inline style (bold, italic and underline), I found a strange behavior.

How to reproduce (in previous version with other inline style)

  1. Selection is collapsed
  2. Select "BOLD"
  3. Select an color
  4. Type a word

Expected : bold and color are applied
Actual: only color is applied

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

Successfully merging this pull request may close these issues.

None yet

2 participants