Module: RenderEditorjs
- Defined in:
- lib/render_editorjs.rb,
lib/render_editorjs/version.rb,
lib/render_editorjs/document.rb,
lib/render_editorjs/validator.rb,
lib/render_editorjs/blocks/base.rb,
lib/render_editorjs/blocks/list.rb,
lib/render_editorjs/blocks/image.rb,
lib/render_editorjs/blocks/header.rb,
lib/render_editorjs/blocks/paragraph.rb,
lib/render_editorjs/default_renderer.rb
Defined Under Namespace
Modules: Blocks Classes: DefaultRenderer, Document, Validator
Constant Summary collapse
- VERSION =
"0.1.5"
Class Method Summary collapse
Class Method Details
.render(content) ⇒ Object
12 13 14 |
# File 'lib/render_editorjs.rb', line 12 def self.render(content) RenderEditorjs::Document.new(content).render end |