Class: CKEditor5::Rails::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/ckeditor5/rails/engine.rb

Class Method Summary collapse

Class Method Details

.baseObject



28
29
30
# File 'lib/ckeditor5/rails/engine.rb', line 28

def base
  config.ckeditor5
end

.configure {|config.ckeditor5| ... } ⇒ Object

Yields:

  • (config.ckeditor5)


36
37
38
# File 'lib/ckeditor5/rails/engine.rb', line 36

def configure
  yield config.ckeditor5
end

.default_presetObject



32
33
34
# File 'lib/ckeditor5/rails/engine.rb', line 32

def default_preset
  config.ckeditor5.presets.default
end