Documentation ¶
Index ¶
- type Block
- type Data
- type DefaultParser
- func (d DefaultParser) ParseHeader(b []byte, w Writer) error
- func (d DefaultParser) ParseImage(b []byte, w Writer) error
- func (d DefaultParser) ParseList(b []byte, w Writer) error
- func (d DefaultParser) ParseParagraph(b []byte, w Writer) error
- func (d DefaultParser) ParseTable(b []byte, w Writer) error
- type EditorJS
- type Flusher
- type Image
- type List
- type ParseFunc
- type Table
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Type string `json:"type"` Data json.RawMessage `json:"data"` }
type DefaultParser ¶
type DefaultParser struct{}
DefaultParser :
func (DefaultParser) ParseHeader ¶
func (d DefaultParser) ParseHeader(b []byte, w Writer) error
ParseHeader :
func (DefaultParser) ParseImage ¶
func (d DefaultParser) ParseImage(b []byte, w Writer) error
ParseImage :
func (DefaultParser) ParseList ¶
func (d DefaultParser) ParseList(b []byte, w Writer) error
ParseList :
func (DefaultParser) ParseParagraph ¶
func (d DefaultParser) ParseParagraph(b []byte, w Writer) error
ParseParagraph :
func (DefaultParser) ParseTable ¶
func (d DefaultParser) ParseTable(b []byte, w Writer) error
ParseTable :
type EditorJS ¶
type EditorJS struct {
// contains filtered or unexported fields
}
EditorJS :
func (*EditorJS) RegisterParser ¶
RegisterParser :
Click to show internal directories.
Click to hide internal directories.