alchemy_cms 7.0.0 → 7.0.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f0cc418c39ce5701b162c99be3ffdd6fd0a7ccffa37cae44df6632f282b3387
|
4
|
+
data.tar.gz: acccc64201262b7caca16131104d5e5edf64ff44a7b11770f210b6aa4037dfb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '062183faa7a2519e5727ca492ee2e9cf34763b4c016a1e1eb9790d04a03e81e68bd2f37ca09f738251baf9ad4d07f4ff9ab04c9851139b5313ecb34f3d079886'
|
7
|
+
data.tar.gz: 7fd8da93df4758470ac57fd457469be08420c2740547b5c64c571fa7c0fae19be7460ba3ff2ba88a225f5c4d7d75a0351039d66962ed091736def00b09450006
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.0.1 (2023-07-07)
|
4
|
+
|
5
|
+
- Fix disconnecting Tinymce intersection observer [#2519](https://github.com/AlchemyCMS/alchemy_cms/pull/2519) ([tvdeyen](https://github.com/tvdeyen))
|
6
|
+
|
3
7
|
## 7.0.0 (2023-07-05)
|
4
8
|
|
5
9
|
- Remove old alchemy_admin files from sprockets builds [#2517](https://github.com/AlchemyCMS/alchemy_cms/pull/2517) ([tvdeyen](https://github.com/tvdeyen))
|
@@ -52,5 +52,6 @@ $(document).on 'turbo:load', ->
|
|
52
52
|
|
53
53
|
$(document).on 'turbo:before-fetch-request', ->
|
54
54
|
# Ensure that all tinymce editors get removed before parsing a new page
|
55
|
+
Alchemy.Tinymce.removeIntersectionObserver()
|
55
56
|
Alchemy.Tinymce.removeFrom $('.has_tinymce')
|
56
57
|
return
|
@@ -41,10 +41,6 @@ function initEditors(ids) {
|
|
41
41
|
// initialize IntersectionObserver
|
42
42
|
// the observer will initialize Tinymce if the textarea becomes visible
|
43
43
|
function initializeIntersectionObserver() {
|
44
|
-
if (tinymceIntersectionObserver !== null) {
|
45
|
-
tinymceIntersectionObserver.disconnect()
|
46
|
-
}
|
47
|
-
|
48
44
|
const observerCallback = (entries, observer) => {
|
49
45
|
entries.forEach((entry) => {
|
50
46
|
if (entry.intersectionRatio > 0) {
|
@@ -108,6 +104,12 @@ function removeEditor(editorId) {
|
|
108
104
|
}
|
109
105
|
}
|
110
106
|
|
107
|
+
function removeIntersectionObserver() {
|
108
|
+
if (tinymceIntersectionObserver !== null) {
|
109
|
+
tinymceIntersectionObserver.disconnect()
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
111
113
|
export default {
|
112
114
|
// Initializes all TinyMCE editors with given ids
|
113
115
|
//
|
@@ -135,6 +137,8 @@ export default {
|
|
135
137
|
})
|
136
138
|
},
|
137
139
|
|
140
|
+
removeIntersectionObserver,
|
141
|
+
|
138
142
|
// set tinymce configuration for a given selector key
|
139
143
|
setCustomConfig(key, configuration) {
|
140
144
|
tinymceCustomConfigs[key] = configuration
|
data/lib/alchemy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alchemy_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2023-07-
|
16
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: actionmailer
|