File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -387,6 +387,7 @@ func (b EquationBlock) GetRichTextString() string {
387387func (b BasicBlock ) GetRichTextString () string {
388388 return "No rich text of a basic block."
389389}
390+
390391var _ Block = (* BasicBlock )(nil )
391392
392393type ParagraphBlock struct {
@@ -783,9 +784,9 @@ func decodeBlock(raw map[string]interface{}) (Block, error) {
783784 b = & Heading2Block {}
784785 case BlockTypeHeading3 :
785786 b = & Heading3Block {}
786- case BlockCallout :
787+ case BlockTypeCallout :
787788 b = & CalloutBlock {}
788- case BlockQuote :
789+ case BlockTypeQuote :
789790 b = & QuoteBlock {}
790791 case BlockTypeBulletedListItem :
791792 b = & BulletedListItemBlock {}
Original file line number Diff line number Diff line change @@ -226,8 +226,8 @@ const (
226226 BlockTypeBookmark BlockType = "bookmark"
227227 BlockTypeCode BlockType = "code"
228228 BlockTypeDivider BlockType = "divider"
229- BlockCallout BlockType = "callout"
230- BlockQuote BlockType = "quote"
229+ BlockTypeCallout BlockType = "callout"
230+ BlockTypeQuote BlockType = "quote"
231231 BlockTypeTableOfContents BlockType = "table_of_contents"
232232 BlockTypeEquation BlockType = "equation"
233233 BlockTypeBreadcrumb BlockType = "breadcrumb"
You can’t perform that action at this time.
0 commit comments