Sha256: eb5771daa85a67ecb70387044e5c39042f5e6c19606c3931793e0db8c3d6294d
Contents?: true
Size: 824 Bytes
Versions: 6
Compression:
Stored size: 824 Bytes
Contents
# frozen_string_literal: true require "active_support/configurable" module Katalyst module Content class Config include ActiveSupport::Configurable config_accessor(:backgrounds) { %w[light dark] } config_accessor(:heading_styles) { %w[none default] } config_accessor(:items) do %w[ Katalyst::Content::Content Katalyst::Content::Figure Katalyst::Content::Section Katalyst::Content::Group Katalyst::Content::Column Katalyst::Content::Aside ] end config_accessor(:image_mime_types) { %w[image/png image/gif image/jpeg image/webp] } config_accessor(:max_image_size) { 20 } # Components config_accessor(:errors_component) { "Katalyst::Content::Editor::ErrorsComponent" } end end end
Version data entries
6 entries across 6 versions & 1 rubygems