ckeditor5 1.1.3 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1a9231d02fc433d84940be1d9dff62a4a32a24101a0d383374dd5ce41789fdb
4
- data.tar.gz: 58f7b1f2c6ebc373a80f8aacd1720f712f6b3b2df3501bfae8185c2f25ab6c9a
3
+ metadata.gz: d8a3607d5a38c9654f181481a3c84f0b62119bf82aa5821c4e679eb3624323a5
4
+ data.tar.gz: 9c1f3765da1ad876a02c326141645eb4f941db6ecb2f12cb8bc16b04d9ebf965
5
5
  SHA512:
6
- metadata.gz: 660761eb62fcd75e55f59c4a4f06115ed7d523aefeedde9d78a288cfced67170bb8ddddeb8f0c18a0d61267a05882df2c01e5b6689a0f0109aca7ce5aed31565
7
- data.tar.gz: acf7b3c7999b4524e096a49e70522cb029d7d54ebb470605c89552f6de35c89d5d828e34fa59c9f106d2ad041295a8ec019821ba84f23b89a6fc81c3e3e4d9ef
6
+ metadata.gz: 6372388ead48cef2105d1f5f25fb34e650687bf3a5197f2d3d30a65b27b4197418e53504ecf153c4b373db32a574511da1afda0c59ec4a3d60a84656bbcc4828
7
+ data.tar.gz: fca6e5780732f512f0b0d380777cb6b95a881e714b1a9b91ddfc624391d6ca4d77a555e29eb04eb9d1ecd6e94e9d0796751c481543cfbf24df032ceabe055caf
data/README.md CHANGED
@@ -25,7 +25,7 @@ In your config:
25
25
  ```rb
26
26
  # config/initializers/ckeditor5.rb
27
27
 
28
- CKEditor5::Rails::Engine.configure do |config|
28
+ CKEditor5::Rails.configure do |config|
29
29
  config.presets.override :default do
30
30
  version '43.3.0'
31
31
  end
@@ -102,7 +102,7 @@ You can create your own by defining it in the `config/initializers/ckeditor5.rb`
102
102
  ```rb
103
103
  # config/initializers/ckeditor5.rb
104
104
 
105
- CKEditor5::Rails::Engine.configure do |config|
105
+ CKEditor5::Rails.configure do |config|
106
106
  config.presets.define :custom
107
107
  gpl
108
108
  type :classic
@@ -135,7 +135,7 @@ In order to override existing presets, you can use the `config.presets.override`
135
135
  ```rb
136
136
  # config/initializers/ckeditor5.rb
137
137
 
138
- CKEditor5::Rails::Engine.configure do |config|
138
+ CKEditor5::Rails.configure do |config|
139
139
  config.presets.override :default do
140
140
  menubar visible: false
141
141
 
@@ -511,7 +511,7 @@ Set the version in the `config/initializers/ckeditor5.rb` file:
511
511
  ```rb
512
512
  # config/initializers/ckeditor5.rb
513
513
 
514
- CKEditor5::Rails::Engine.configure do
514
+ CKEditor5::Rails.configure do
515
515
  presets.override :default do
516
516
  version '43.3.0'
517
517
  end
@@ -553,7 +553,7 @@ Keep in mind, that you need to include the translations in the `config/initializ
553
553
  ```rb
554
554
  # config/initializers/ckeditor5.rb
555
555
 
556
- CKEditor5::Rails::Engine.configure do
556
+ CKEditor5::Rails.configure do
557
557
  presets.override :default do
558
558
  language :pl
559
559
  end
@@ -45,4 +45,8 @@ module CKEditor5::Rails
45
45
  yield config.ckeditor5
46
46
  end
47
47
  end
48
+
49
+ def configure(&block)
50
+ Engine.configure(&block)
51
+ end
48
52
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CKEditor5::Rails
4
- VERSION = '1.1.3'
4
+ VERSION = '1.1.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ckeditor5
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Bagiński