mirror of
https://github.com/outline/outline.git
synced 2026-12-04 10:24:43 +03:00
fix: Cannot delete first character in heading (#10706)
This commit is contained in:
1 parent
1be502105c
commit
e767ec34db
1 file changed
+2
-2
@@ -221,8 +221,8 @@ export default class Heading extends Node {
|
||||
container.appendChild(fold);
|
||||
|
||||
decorations.push(
|
||||
Decoration.widget(pos + node.nodeSize - 1, container, {
|
||||
side: 1,
|
||||
Decoration.widget(pos + 1, container, {
|
||||
side: -1,
|
||||
ignoreSelection: true,
|
||||
relaxedSide: true,
|
||||
key: pos.toString(),
|
||||
|
||||
Reference in new issue
Block a user