mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
use BOM marker instead of ZWS
that's what others do ...
This commit is contained in:
parent
366a4aa308
commit
c5c987f62e
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ function insertAfter(node, nodeToInsert) {
|
|||
}
|
||||
}
|
||||
|
||||
export const ZERO_WIDTH_SPACE = "\u200b";
|
||||
// this is a BOM marker actually
|
||||
export const ZERO_WIDTH_SPACE = "\ufeff";
|
||||
// a caret node is a node that allows the caret to be placed
|
||||
// where otherwise it wouldn't be possible
|
||||
// (e.g. next to a pill span without adjacent text node)
|
||||
|
|
Loading…
Reference in a new issue