Method: EditorJs::Blocks::QuoteBlock#schema

Defined in:
lib/editor_js/blocks/quote_block.rb

#schemaObject



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/editor_js/blocks/quote_block.rb', line 7

def schema
  YAML.safe_load("    type: object\n    additionalProperties: false\n    properties:\n      text:\n        type: string\n      caption:\n        type: string\n      alignment:\n        type: string\n  YAML\nend\n")