ckeditor5 1.27.1 → 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
|
data/README.md
CHANGED
@@ -87,7 +87,7 @@ CKEditor5::Rails.configure do
|
|
87
87
|
|
88
88
|
# Optionally, you can specify version of CKEditor 5 to use.
|
89
89
|
# If it's not specified the default version specified in the gem will be used.
|
90
|
-
# version '44.
|
90
|
+
# version '44.3.0'
|
91
91
|
|
92
92
|
# Upload images to the server using the simple upload adapter, instead of Base64 encoding.
|
93
93
|
# simple_upload_adapter
|
@@ -210,7 +210,7 @@ You can create your own by defining it in the `config/initializers/ckeditor5.rb`
|
|
210
210
|
|
211
211
|
CKEditor5::Rails.configure do
|
212
212
|
# It's possible to override the default preset right in the initializer.
|
213
|
-
version '44.
|
213
|
+
version '44.3.0'
|
214
214
|
|
215
215
|
# New presets inherit properties from the default preset defined in the initializer.
|
216
216
|
# In this example, the custom preset inherits everything from default but disables the menubar:
|
@@ -220,7 +220,7 @@ CKEditor5::Rails.configure do
|
|
220
220
|
|
221
221
|
# In order to define preset from scratch, you can use the `inherit: false` option.
|
222
222
|
presets.define :blank_preset, inherit: false do
|
223
|
-
version '44.
|
223
|
+
version '44.3.0'
|
224
224
|
|
225
225
|
# It tells the integration to fetch the newest security patches and bug fixes.
|
226
226
|
# It may be disabled, but it's highly recommended to keep it enabled to avoid
|
@@ -342,7 +342,7 @@ Defines the version of CKEditor 5 to be used. The example below shows how to set
|
|
342
342
|
CKEditor5::Rails.configure do
|
343
343
|
# ... other configuration
|
344
344
|
|
345
|
-
version '44.
|
345
|
+
version '44.3.0'
|
346
346
|
end
|
347
347
|
```
|
348
348
|
|
@@ -354,7 +354,7 @@ In order to disable default patches, you can pass the `apply_patches: false` key
|
|
354
354
|
CKEditor5::Rails.configure do
|
355
355
|
# ... other configuration
|
356
356
|
|
357
|
-
version '44.
|
357
|
+
version '44.3.0', apply_patches: false
|
358
358
|
end
|
359
359
|
```
|
360
360
|
|
@@ -1301,7 +1301,7 @@ It may be useful when you want to define a preset based on the current user or r
|
|
1301
1301
|
class ApplicationController < ActionController::Base
|
1302
1302
|
def show
|
1303
1303
|
@preset = ckeditor5_preset do
|
1304
|
-
version '44.
|
1304
|
+
version '44.3.0'
|
1305
1305
|
|
1306
1306
|
toolbar :sourceEditing, :|, :bold, :italic, :underline, :strikethrough,
|
1307
1307
|
:subscript, :superscript, :removeFormat, :|, :bulletedList, :numberedList,
|
@@ -1336,7 +1336,7 @@ If you want to override the preset defined in the initializer, you can search fo
|
|
1336
1336
|
class ApplicationController < ActionController::Base
|
1337
1337
|
def show
|
1338
1338
|
@preset = ckeditor5_preset(:default).override do
|
1339
|
-
version '44.
|
1339
|
+
version '44.3.0'
|
1340
1340
|
|
1341
1341
|
toolbar :sourceEditing, :|, :bold, :italic, :underline, :strikethrough,
|
1342
1342
|
:subscript, :superscript, :removeFormat, :|, :bulletedList, :numberedList,
|
@@ -1509,7 +1509,7 @@ In that scenario it's recommended to add `gpl` method to the initializer along w
|
|
1509
1509
|
|
1510
1510
|
CKEditor5::Rails.configure do
|
1511
1511
|
gpl
|
1512
|
-
version '44.
|
1512
|
+
version '44.3.0'
|
1513
1513
|
end
|
1514
1514
|
```
|
1515
1515
|
|
@@ -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-
|
12
|
+
date: 2025-03-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|