ckeditor5 1.27.2 → 1.27.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b73e7a07562a8531b071c5d39c8c051cf00a6566d81a6aa78aa791e9943e900
|
4
|
+
data.tar.gz: 5e1ead26d24e2d31b9696cba63b395e8f34c4ea408f27ebedf9498efff97326b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8af4082843903c3adf3a378c35673107eeb4fc916f184cb6c2ec2611b35b4e75df9165be1b14746dd1998710c8a1852faabaad0c0e476dc749ecb8273dbf3b96
|
7
|
+
data.tar.gz: 93c2f1c02c4f4c7fcefec7d281e0172be0965ed078feb6484acc50060659a8afd235c4def5053a8e3280028f1d3f4ea71746339d775c4d3cd1d3546422c0c99c
|
@@ -20,9 +20,11 @@ module CKEditor5::Rails
|
|
20
20
|
Engine.presets.to_h.values.flat_map { |p| p.plugins.items }
|
21
21
|
end
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
# Filter inline plugins and deduplicate by name in one chain
|
24
|
+
initializers = plugins
|
25
|
+
.select { |plugin| plugin.is_a?(Editor::PropsInlinePlugin) }
|
26
|
+
.uniq(&:name)
|
27
|
+
.map do |plugin|
|
26
28
|
Editor::InlinePluginWindowInitializer.new(plugin).to_html(
|
27
29
|
nonce: content_security_policy_nonce
|
28
30
|
)
|
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.27.
|
4
|
+
version: 1.27.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mateusz Bagiński
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-03-
|
12
|
+
date: 2025-03-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|