This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
24 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Inline filler removal | ||
|
||
Check whether inline filler is properly removed when typing inside empty inline elements. | ||
Check whether inline filler is properly removed when typing inside empty inline elements: | ||
|
||
By default inline filler should be removed when anything is typed inside empty inline element. | ||
* By default inline filler should be removed when anything is typed inside empty inline element. | ||
* During composition, inline filler should not be removed until composition ends. | ||
|
||
You may alter this behaviour by clicking **Toggle inline filler removal** (this emulates composition) which | ||
will result in inline filler not being removed while typing inside empty inline element. Click again to restore | ||
default behaviour - filler from non empty element should be removed on focus/typing. | ||
You may emulate composition by clicking **Toggle composition** or use e.g. Spanish or Japanese keyboard | ||
(the composition state is logged in the browser dev console). | ||
|
||
**Notice:** Keep in mind that clicking somewhere inside editor will automatically end composition. So the case when | ||
filler removal is blocked and caret is placed in different nodes is not reproducible during normal usage | ||
(here it results in spanning inline fillers in focused nodes). | ||
**Notice:** While emulating composition (or if you are able to create situation in which `compositionend` is not fired properly), | ||
inline filler should behave as described above in the inline elements, but should not be inserted in other non-empty elements. | ||
Also there should by always maximum one inline filler in the whole content. |