Skip to content

editor is still counted as empty when a blockquote or list is selected #10

@alicewriteswrongs

Description

@alicewriteswrongs

Hey! I'm using this library to add some placeholder text my empty editor instance, and mostly it is working great.

A co-worker of mine did notice an issue, however, where the editor is still marked as empty in a few cases where it should not be, particularly because the editor UI starts to show UI indicating that the user has made some input, but because the .ck-editor__is-empty class is still on the editor element my css ::before placeholder still shows up.

This seems to be happening if you click the blockquote or list options on an empty editor. Here's a screenshot of the result:

emptyplaceholder

I'm using a custom build of ckeditor5 based on the classic build. The code is open source, so if you want to look at it it's here: https://github.com/mitodl/ckeditor-custom-build

Let me know if you need any more info!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions