Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
editorjs
main
EditorJS
ChecklistBlock
ChecklistDataBlock
ChecklistDataEntry
CodeBlock
CodeDataBlock
DataBlock
DelimiterBlock
DelimiterDataBlock
Document
EditorBlock
HeaderBlock
HeaderDataBlock
ImageBlock
ImageDataBlock
ListBlock
ListDataBlock
ParagraphBlock
ParagraphDataBlock
QuoteBlock
QuoteDataBlock
TableBlock
TableDataBlock
WarningBlock
WarningDataBlock
Generated using Crystal 1.14.0
2024-11-26 07:23:20 UTC
class
EditorJS::
CodeDataBlock
EditorJS::CodeDataBlock
EditorJS::DataBlock
Reference
Object
Defined in:
editorjs/code_block.cr
Constructors
.new
(pull : JSON::PullParser)
.new
Instance Method Summary
#code
: String
#code=
(code : String)
Constructor methods inherited from class
EditorJS::DataBlock
new(pull : JSON::PullParser)
new
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
code
: String
#
[
View source
]
def
code=
(code : String)
#
[
View source
]