Module: CKEditor5::Rails::Presets::Concerns::ConfigurationMethods
- Extended by:
- ActiveSupport::Concern
- Included in:
- Context::PresetBuilder, PresetBuilder
- Defined in:
- lib/ckeditor5/rails/presets/concerns/configuration_methods.rb
Overview
ConfigurationMethods provides functionality for configuring CKEditor 5 presets and instances.
This module is included in preset builders and allows setting various configuration options for the editor.
Instance Method Summary collapse
-
#configure(key, value) ⇒ Object
Sets a configuration value for a given key in the editor configuration.
Instance Method Details
#configure(key, value) ⇒ Object
Sets a configuration value for a given key in the editor configuration.
60 61 62 |
# File 'lib/ckeditor5/rails/presets/concerns/configuration_methods.rb', line 60 def configure(key, value) config[key] = value end |