trusty-cms 7.0.47 → 7.0.48

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.
@@ -5,4 +5,5 @@
5
5
  //= link admin/assets_admin.js
6
6
  //= link admin/custom_file_upload.js
7
7
  //= link admin/validations/scheduled_status_validation.js
8
- //= link trusty_cms/ckeditor5.js
8
+ //= link trusty_cms/ckeditor5.js
9
+ //= link trusty_cms/ckeditor5.css
@@ -1,4 +1,4 @@
1
- import { Plugin, Widget, toWidget } from 'ckeditor5/src/index.js';
1
+ import { Plugin, Widget, toWidget } from 'ckeditor5';
2
2
 
3
3
  export default class AssetTagBuilder extends Plugin {
4
4
  static get requires() {
@@ -112,8 +112,9 @@ import {
112
112
  TextTransformation,
113
113
  TodoList,
114
114
  Underline
115
- } from 'ckeditor5/src/index.js';
115
+ } from 'ckeditor5';
116
116
 
117
+ import 'ckeditor5/ckeditor5.css'
117
118
 
118
119
  const editorConfig = {
119
120
  toolbar: {
@@ -40,7 +40,7 @@
40
40
  - javascript_overrides.each do |javascript|
41
41
  = javascript_include_tag javascript
42
42
 
43
- = stylesheet_link_tag 'ckeditor5/dist/ckeditor5.css'
43
+ = stylesheet_link_tag 'trusty_cms/ckeditor5'
44
44
  = csrf_meta_tags
45
45
 
46
46
  :javascript
@@ -1,3 +1,3 @@
1
1
  module TrustyCms
2
- VERSION = '7.0.47'.freeze
2
+ VERSION = '7.0.48'.freeze
3
3
  end
data/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@fortawesome/fontawesome-free": "^5.15.4",
14
14
  "blueimp-file-upload": "^10.32.0",
15
- "ckeditor5": "^46.0.3",
15
+ "ckeditor5": "46.0.3",
16
16
  "jquery": "^3.6.1",
17
17
  "jquery-treetable": "^3.2.0-1",
18
18
  "jquery-ui": "^1.13.2",