Class: CKEditor5::Rails::Engine
- Inherits:
-
Rails::Engine
- Object
- Rails::Engine
- CKEditor5::Rails::Engine
show all
- Defined in:
- lib/ckeditor5/rails/engine.rb
Defined Under Namespace
Classes: ConfigurationProxy
Class Method Summary
collapse
Class Method Details
.base ⇒ Object
28
29
30
|
# File 'lib/ckeditor5/rails/engine.rb', line 28
def base
config.ckeditor5
end
|
36
37
38
39
|
# File 'lib/ckeditor5/rails/engine.rb', line 36
def configure(&block)
proxy = ConfigurationProxy.new(config.ckeditor5)
proxy.instance_eval(&block)
end
|
.default_preset ⇒ Object
32
33
34
|
# File 'lib/ckeditor5/rails/engine.rb', line 32
def default_preset
config.ckeditor5.presets.default
end
|