Versions in this module Expand all Collapse all v1 v1.0.0 Nov 1, 2023 Changes in this version + type Block struct + Data json.RawMessage + Type string + type Data struct + Blocks []Block + Version string + type DefaultParser struct + 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 struct + func NewEditorJS() *EditorJS + func (ejs *EditorJS) ParseTo(b []byte, w Writer) error + func (ejs *EditorJS) RegisterParser(name string, p ParseFunc) + type Flusher interface + Flush func() error + type Image struct + Caption string + File struct{ ... } + Stretched bool + type List struct + Items []string + Style string + type ParseFunc func(b []byte, w Writer) error + type Table struct + Content [][]string + WithHeadings bool + type Writer interface