UNPKG
@zodiac-ui/editor
Version:
latest (0.0.2)
0.0.2
0.0.1
A rich text editor for Angular based on `@atlaskit/editor-core`.
github.com/zodiac-team/zodiac-ui
@zodiac-ui/editor
/
plugins
/
text
/
text.node.d.ts
16 lines
(15 loc)
•
301 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import
{
NodeSpec
}
from
'prosemirror-model'
;
/** *
@name
text_node
*/
export
interface
TextDefinition
{
type
:
'text'
;
/** *
@minLength
1 */
text
:
string
;
marks
?:
Array
<
any
>; }
export
declare
const
textNode
:
NodeSpec
& {
toDebugString
?:
() =>
string
; };