@@ -9,7 +9,6 @@ import type {PeritextSurfaceContextValue} from './context';
9
9
import type { Inline } from '../../json-crdt-extensions/peritext/block/Inline' ;
10
10
11
11
export interface PeritextPlugin {
12
-
13
12
// --------------------------------------------------- Block-level formatting
14
13
15
14
peritext ?: (
@@ -28,7 +27,7 @@ export interface PeritextPlugin {
28
27
29
28
/**
30
29
* Renders a custom view for the *caret* (collapsed cursor) in the editor.
31
- *
30
+ *
32
31
* Make sure that this component is treated as `{ display: inline }` by the
33
32
* browser. Otherwise, it will break words, which will result in word
34
33
* wrapping, and the layout will shift when the caret is moved.
@@ -46,7 +45,7 @@ export interface PeritextPlugin {
46
45
* Renders a custom view for the *focus* edge of a selection
47
46
* (range expanded cursor) in the editor. The focus edge of the selection is
48
47
* the one that moves when the user presses the arrow keys.
49
- *
48
+ *
50
49
* Make sure that this component is treated as `{ display: inline }` by the
51
50
* browser. Otherwise, it will break words, which will result in word
52
51
* wrapping, and the layout will shift when the selection is moved.
@@ -64,7 +63,7 @@ export interface PeritextPlugin {
64
63
* Renders a custom view for the *anchor* edge of a selection
65
64
* (range expanded cursor) in the editor. The anchor edge of the selection is
66
65
* the one that stays in place when the user presses the arrow keys.
67
- *
66
+ *
68
67
* Make sure that this component is treated as `{ display: inline }` by the
69
68
* browser. Otherwise, it will break words, which will result in word
70
69
* wrapping, and the layout will shift when the selection is moved.
0 commit comments