ckeditor5 1.35.0 → 1.35.1

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: a3e37a5769271e9b03a0f525a89c0c0c22d7678d0d60dfc8860c84424df07aa4
4
- data.tar.gz: 58c2a9b122ca4d8411e9a93043434cbba6e2cc61d5fc5e50b242031c752d2661
3
+ metadata.gz: 384ec0fadd3143749a408679b80aea46b61c8a8740fb06f2e6b24344f8929626
4
+ data.tar.gz: edc8fb8ddc4e675638edc023ed9a9327d2c931f5c92010b102c5264c2e11aa12
5
5
  SHA512:
6
- metadata.gz: 9dd610f548a5ddd23a41839949adfb8a220a22d5f15dace8a68d134d69c25b0c6eeea8862f6f6dba54eb99c7d8411f12c6a1d6aa198e8da6a9b4fadd7db6d6c2
7
- data.tar.gz: 8bcc8f2259a8d96f19a88ca114da7bf3f97c467f9cbe9b3029ec437acf431a9f236cabaa6c5cea5f8dc84cce208e160c9ec8350f8eeb4c495dbbbb16b6d7ea89
6
+ metadata.gz: b5518fa67e4c9fc81d63f477a425b2e8d1479f35966bd053eac26f352f12323f730e40e7274b02f981f6161e80787befe5e6000c1473c4c02f203ffd9255c87b
7
+ data.tar.gz: 70719e1470023116b6714b3c386de48463c8b776ced330599d13feb5e79365c89fdbe810f3dbdd756786f052c8ae1b65267e8959c0d3ffda25410916cdcb79ec
data/README.md CHANGED
@@ -96,7 +96,7 @@ CKEditor5::Rails.configure do
96
96
 
97
97
  # Optionally, you can specify version of CKEditor 5 to use.
98
98
  # If it's not specified the default version specified in the gem will be used.
99
- # version '47.5.0'
99
+ # version '47.6.0'
100
100
 
101
101
  # Upload images to the server using the simple upload adapter, instead of Base64 encoding.
102
102
  # simple_upload_adapter
@@ -110,6 +110,31 @@ end
110
110
 
111
111
  Voilà! You have CKEditor 5 integrated with your Rails application. 🎉
112
112
 
113
+ ### If you are not using importmap (custom bundler) 📦
114
+
115
+ If your app uses a custom JS bundler (for example Vite, esbuild, or Webpack), install the npm packages and import the integration in your JavaScript bundle.
116
+
117
+ ```bash
118
+ npm install ckeditor5-rails ckeditor5
119
+ ```
120
+
121
+ ```js
122
+ // app/javascript/application.js (or your main bundle entry)
123
+
124
+ import 'ckeditor5-rails';
125
+ import 'ckeditor5/ckeditor5.css';
126
+ ```
127
+
128
+ If you use premium features, also install `ckeditor5-premium-features` and import its CSS.
129
+
130
+ ```bash
131
+ npm install ckeditor5-premium-features
132
+ ```
133
+
134
+ ```js
135
+ import 'ckeditor5-premium-features/ckeditor5-premium-features.css';
136
+ ```
137
+
113
138
  ## Try Demos! 🎮 ✨
114
139
 
115
140
  Explore various editor configurations with the interactive [demo application](https://github.com/Mati365/ckeditor5-rails/tree/main/sandbox/app/views/demos). For additional inspiration, visit the official CKEditor 5 [examples](https://ckeditor.com/docs/ckeditor5/latest/examples/builds/classic-editor.html).
@@ -129,6 +154,7 @@ For extending CKEditor's functionality, refer to the [plugins directory](https:/
129
154
 
130
155
  - [CKEditor 5 Rails Integration ✨](#ckeditor-5-rails-integration-)
131
156
  - [Installation 🛠️](#installation-️)
157
+ - [If you are not using importmap (custom bundler) 📦](#if-you-are-not-using-importmap-custom-bundler-)
132
158
  - [Try Demos! 🎮 ✨](#try-demos--)
133
159
  - [Table of Contents 📚](#table-of-contents-)
134
160
  - [Presets 🎨](#presets-)
@@ -223,7 +249,7 @@ You can create your own by defining it in the `config/initializers/ckeditor5.rb`
223
249
 
224
250
  CKEditor5::Rails.configure do
225
251
  # It's possible to override the default preset right in the initializer.
226
- version '47.5.0'
252
+ version '47.6.0'
227
253
 
228
254
  # New presets inherit properties from the default preset defined in the initializer.
229
255
  # In this example, the custom preset inherits everything from default but disables the menubar:
@@ -233,7 +259,7 @@ CKEditor5::Rails.configure do
233
259
 
234
260
  # In order to define preset from scratch, you can use the `inherit: false` option.
235
261
  presets.define :blank_preset, inherit: false do
236
- version '47.5.0'
262
+ version '47.6.0'
237
263
 
238
264
  # It tells the integration to fetch the newest security patches and bug fixes.
239
265
  # It may be disabled, but it's highly recommended to keep it enabled to avoid
@@ -355,7 +381,7 @@ Defines the version of CKEditor 5 to be used. The example below shows how to set
355
381
  CKEditor5::Rails.configure do
356
382
  # ... other configuration
357
383
 
358
- version '47.5.0'
384
+ version '47.6.0'
359
385
  end
360
386
  ```
361
387
 
@@ -367,7 +393,7 @@ In order to disable default patches, you can pass the `apply_patches: false` key
367
393
  CKEditor5::Rails.configure do
368
394
  # ... other configuration
369
395
 
370
- version '47.5.0', apply_patches: false
396
+ version '47.6.0', apply_patches: false
371
397
  end
372
398
  ```
373
399
 
@@ -1347,7 +1373,7 @@ It may be useful when you want to define a preset based on the current user or r
1347
1373
  class ApplicationController < ActionController::Base
1348
1374
  def show
1349
1375
  @preset = ckeditor5_preset do
1350
- version '47.5.0'
1376
+ version '47.6.0'
1351
1377
 
1352
1378
  toolbar :sourceEditing, :|, :bold, :italic, :underline, :strikethrough,
1353
1379
  :subscript, :superscript, :removeFormat, :|, :bulletedList, :numberedList,
@@ -1382,7 +1408,7 @@ If you want to override the preset defined in the initializer, you can search fo
1382
1408
  class ApplicationController < ActionController::Base
1383
1409
  def show
1384
1410
  @preset = ckeditor5_preset(:default).override do
1385
- version '47.5.0'
1411
+ version '47.6.0'
1386
1412
 
1387
1413
  toolbar :sourceEditing, :|, :bold, :italic, :underline, :strikethrough,
1388
1414
  :subscript, :superscript, :removeFormat, :|, :bulletedList, :numberedList,
@@ -1555,7 +1581,7 @@ In that scenario it's recommended to add `gpl` method to the initializer along w
1555
1581
 
1556
1582
  CKEditor5::Rails.configure do
1557
1583
  gpl
1558
- version '47.5.0'
1584
+ version '47.6.0'
1559
1585
  end
1560
1586
  ```
1561
1587
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  module CKEditor5
4
4
  module Rails
5
- VERSION = '1.35.0'
5
+ VERSION = '1.35.1'
6
6
 
7
- DEFAULT_CKEDITOR_VERSION = '47.5.0'
7
+ DEFAULT_CKEDITOR_VERSION = '47.6.0'
8
8
  end
9
9
  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.35.0
4
+ version: 1.35.1
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: 2026-02-14 00:00:00.000000000 Z
12
+ date: 2026-03-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails