mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
fix: Cannot delete first character in heading (#10706)
This commit is contained in:
@@ -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