Quill: Can't use CSS :focus selector on editor

Created on 22 Jan 2017  路  2Comments  路  Source: quilljs/quill

I want to apply my own styling to the editor on focus in my own CSS but the pseudo class selector doesn't work.
:active and :hover both work.

Steps for Reproduction

Add pseudo selector to loaded CSS with some styling.

Expected behavior:

Should add styling when the editor is focused.

Actual behavior:

There is no change in the styling.

Platforms:

Latest Chrome and FF

Version:

1.2.0

Most helpful comment

This CodePen use the :focus selector.

All 2 comments

Working for me.
In this CodePen :hover paint the background in red.

This CodePen use the :focus selector.

Was this page helpful?
0 / 5 - 0 ratings