trusty-cms 7.0.45 → 7.0.47
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 +4 -4
- data/Gemfile.lock +1 -1
- data/app/assets/builds/trusty_cms/ckeditor5.css +5288 -5647
- data/app/assets/builds/trusty_cms/ckeditor5.css.map +3 -3
- data/app/assets/builds/trusty_cms/ckeditor5.js +54172 -56593
- data/app/assets/builds/trusty_cms/ckeditor5.js.map +4 -4
- data/app/assets/config/trusty-cms-manifest.js +1 -2
- data/app/javascript/plugins/asset_tags/asset_tag_builder.js +1 -1
- data/app/javascript/trusty_cms/ckeditor5.js +4 -4
- data/app/views/admin/page_parts/_page_part.html.haml +0 -1
- data/app/views/layouts/application.html.haml +1 -2
- data/lib/trusty_cms/version.rb +1 -1
- data/yarn.lock +3 -3
- metadata +2 -3
- data/app/javascript/plugins/asset_tags/asset_tags.js +0 -8
|
@@ -46,7 +46,7 @@ const defaultStyleDefinitions = [
|
|
|
46
46
|
}
|
|
47
47
|
]
|
|
48
48
|
|
|
49
|
-
import AssetTagBuilder from '../plugins/asset_tags/
|
|
49
|
+
import AssetTagBuilder from '../plugins/asset_tags/asset_tag_builder';
|
|
50
50
|
|
|
51
51
|
import {
|
|
52
52
|
ClassicEditor,
|
|
@@ -112,9 +112,7 @@ import {
|
|
|
112
112
|
TextTransformation,
|
|
113
113
|
TodoList,
|
|
114
114
|
Underline
|
|
115
|
-
} from 'ckeditor5';
|
|
116
|
-
|
|
117
|
-
import "ckeditor5/ckeditor5.css";
|
|
115
|
+
} from 'ckeditor5/src/index.js';
|
|
118
116
|
|
|
119
117
|
|
|
120
118
|
const editorConfig = {
|
|
@@ -369,6 +367,8 @@ editorElements.forEach((editorElement) => {
|
|
|
369
367
|
if (!hiddenInput) {
|
|
370
368
|
return;
|
|
371
369
|
}
|
|
370
|
+
|
|
371
|
+
editor.setData(hiddenInput.value || '');
|
|
372
372
|
editor.ui.focusTracker.on( 'change:isFocused', ( evt, name, isFocused ) => {
|
|
373
373
|
if ( !isFocused ) {
|
|
374
374
|
editor.plugins.get( 'SourceEditing' ).updateEditorData()
|
|
@@ -14,5 +14,4 @@
|
|
|
14
14
|
.editor-container.editor-container_classic-editor.editor-container_include-style.editor-container_include-fullscreen#editor-container
|
|
15
15
|
.editor-container__editor
|
|
16
16
|
%div{ id: "editor_#{ page_part.name.to_slug }", data: { part: page_part.name.to_slug } }
|
|
17
|
-
= page_part.content.to_s.html_safe # rubocop:disable Rails/OutputSafety
|
|
18
17
|
= hidden_field_tag :page_part, page_part.content || '', name: "page[parts_attributes][#{ page_part_counter }][content]", id: "part_#{ page_part.name.to_slug }_content"
|
|
@@ -37,11 +37,10 @@
|
|
|
37
37
|
|
|
38
38
|
- stylesheet_overrides.each do |stylesheet|
|
|
39
39
|
= stylesheet_link_tag stylesheet
|
|
40
|
-
|
|
41
40
|
- javascript_overrides.each do |javascript|
|
|
42
41
|
= javascript_include_tag javascript
|
|
43
42
|
|
|
44
|
-
= stylesheet_link_tag
|
|
43
|
+
= stylesheet_link_tag 'ckeditor5/dist/ckeditor5.css'
|
|
45
44
|
= csrf_meta_tags
|
|
46
45
|
|
|
47
46
|
:javascript
|
data/lib/trusty_cms/version.rb
CHANGED
data/yarn.lock
CHANGED
|
@@ -2258,9 +2258,9 @@ lodash.truncate@^4.4.2:
|
|
|
2258
2258
|
integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==
|
|
2259
2259
|
|
|
2260
2260
|
lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.21:
|
|
2261
|
-
version "4.17.
|
|
2262
|
-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.
|
|
2263
|
-
integrity sha512-
|
|
2261
|
+
version "4.17.23"
|
|
2262
|
+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.23.tgz#f113b0378386103be4f6893388c73d0bde7f2c5a"
|
|
2263
|
+
integrity sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==
|
|
2264
2264
|
|
|
2265
2265
|
log-symbols@^4.1.0:
|
|
2266
2266
|
version "4.1.0"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trusty-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.0.
|
|
4
|
+
version: 7.0.47
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TrustyCms CMS dev team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activestorage-validator
|
|
@@ -819,7 +819,6 @@ files:
|
|
|
819
819
|
- app/helpers/site_helper.rb
|
|
820
820
|
- app/helpers/sites_helper.rb
|
|
821
821
|
- app/javascript/plugins/asset_tags/asset_tag_builder.js
|
|
822
|
-
- app/javascript/plugins/asset_tags/asset_tags.js
|
|
823
822
|
- app/javascript/trusty_cms/ckeditor5.js
|
|
824
823
|
- app/mailers/application_mailer.rb
|
|
825
824
|
- app/mailers/devise_mailer.rb
|