Sha256: 04c646585514aff8d82ebcd19a81c7595f9e2ac9d5d5fadef1bc41f4b71c6d0e
Contents?: true
Size: 764 Bytes
Versions: 12
Compression:
Stored size: 764 Bytes
Contents
require 'rails_admin/config/fields/types/text' module RailsAdmin module Config module Fields module Types class ActionText < Text # Register field type for the type loader RailsAdmin::Config::Fields::Types.register(self) register_instance_option :version do '1.1.1' end register_instance_option :css_location do "https://cdnjs.cloudflare.com/ajax/libs/trix/#{version}/trix.css" end register_instance_option :js_location do "https://cdnjs.cloudflare.com/ajax/libs/trix/#{version}/trix.js" end register_instance_option :partial do :form_action_text end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems