Sha256: a151c211c51b5074516fd07bf17bcf67fdfb7d3072427b5142da814fae90c62f
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
# frozen_string_literal: true module Alchemy module Tinymce mattr_accessor :languages, :plugins DEFAULT_PLUGINS = %w[anchor charmap code directionality fullscreen hr link lists paste tabfocus table] @@plugins = DEFAULT_PLUGINS + %w[alchemy_link] @@init = { skin: "alchemy", width: "auto", resize: true, min_height: 220, menubar: false, statusbar: true, toolbar: [ "bold italic underline | strikethrough subscript superscript | numlist bullist indent outdent | removeformat | fullscreen", "pastetext charmap hr | undo redo | alchemy_link unlink anchor | code" ], fix_list_elements: true, convert_urls: false, entity_encoding: "raw", paste_as_text: true, element_format: "html", branding: false } class << self def init=(settings) @@init.merge!(settings) end def init @@init end def preloadable_plugins @@plugins - DEFAULT_PLUGINS end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alchemy_cms-7.1.0.pre.b1 | lib/alchemy/tinymce.rb |