1 | import { Mark, MarkSpec } from 'prosemirror-model';
|
2 | export declare type LocalId = string;
|
3 | export interface FragmentAttributes {
|
4 | |
5 |
|
6 |
|
7 | localId: LocalId;
|
8 | name?: string;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export interface FragmentDefinition {
|
16 | type: 'fragment';
|
17 | attrs: FragmentAttributes;
|
18 | }
|
19 | export interface FragmentMark extends Mark {
|
20 | attrs: FragmentAttributes;
|
21 | }
|
22 | export declare const fragment: MarkSpec;
|
23 | export declare const toJSON: (mark: Mark) => {
|
24 | type: string;
|
25 | attrs: {
|
26 | name?: any;
|
27 | localId: any;
|
28 | };
|
29 | };
|