ckeditor5 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ckeditor5/rails/engine.rb +5 -3
- data/lib/ckeditor5/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fd62e59f6152397ca06404b956ee4b89452eff91679fd8c87436ab620c511f8
|
4
|
+
data.tar.gz: 0b740379678382ab910743ec7041f0b284db0a0c4f377eba52c609eaa705cf4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e359270ad4714fa0a080d70cee7f43ebf874670dddc191c1ee2d6233ea85a0e45e0df975ed89de36fd323d978e371d8751807eee32caf34ff545e04fe41c2ba
|
7
|
+
data.tar.gz: 701d19ceae2a64fa455ec46456c6af2d921393606ddb7b2565862f1b20524d9dda58d77800774f300bb294d9c620400506772fcd850309d0078e2abb354f8955
|
@@ -14,9 +14,11 @@ module CKEditor5::Rails
|
|
14
14
|
ActiveSupport.on_load(:action_view) { include Helpers }
|
15
15
|
end
|
16
16
|
|
17
|
-
initializer 'ckeditor5.simple_form',
|
18
|
-
|
19
|
-
|
17
|
+
initializer 'ckeditor5.simple_form', after: :load_config_initializers do
|
18
|
+
if defined?(::SimpleForm)
|
19
|
+
require_relative 'hooks/simple_form'
|
20
|
+
::SimpleForm::FormBuilder.map_type :ckeditor5, to: Hooks::SimpleForm::CKEditor5Input
|
21
|
+
end
|
20
22
|
end
|
21
23
|
|
22
24
|
initializer 'ckeditor5.form_builder' do
|