Sha256: ed0afa82e9ae3d9f2683ea5aa865e5eedc6c70a60b2debb5ccbe76e888e45ce6

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

require 'json'
require 'active_support/core_ext/hash/keys'
require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/string/output_safety'
require 'active_support/core_ext/object/deep_dup'
require 'action_view'
require 'action_view/helpers'
require 'json-schema'
require 'sanitize'
require 'htmlentities'
require 'redcarpet'
require 'coderay'
require 'editor_js/version'
require 'editor_js/blocks/base'
require 'editor_js/blocks/checklist_block'
require 'editor_js/blocks/code_block'
require 'editor_js/blocks/delimiter_block'
require 'editor_js/blocks/embed_block'
require 'editor_js/blocks/header_block'
require 'editor_js/blocks/image_block'
require 'editor_js/blocks/list_block'
require 'editor_js/blocks/markdown_block'
require 'editor_js/blocks/paragraph_block'
require 'editor_js/blocks/qiniu_image_block'
require 'editor_js/blocks/quote_block'
require 'editor_js/blocks/warning_block.rb'
require 'editor_js/blocks/table_block'
require 'editor_js/blocks/attaches_block'
require 'editor_js/document'

module EditorJs
  class << self
    # css name prefix of blocks
    def css_name_prefix
      @css_name_prefix ||= 'editor_js--'
    end

    def css_name_prefix=(prefix)
      @css_name_prefix = prefix
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
editor_js-0.3.5.1 lib/editor_js.rb
editor_js-0.3.5 lib/editor_js.rb