actiontext 7.1.2 → 7.1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -4
- data/app/assets/javascripts/actiontext.esm.js +3 -3
- data/app/assets/javascripts/actiontext.js +3 -3
- data/app/helpers/action_text/tag_helper.rb +2 -6
- data/lib/action_text/gem_version.rb +2 -2
- data/package.json +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc3113dc8a4b92c938e5099d2b29e95d4e2ae290b1de675233dc00bd6548e574
|
4
|
+
data.tar.gz: 40a9ff7b87688770278f2c0c2f9a98d27ad2f298d43bc9146b7718bec68a13d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ee567cfe4ecd4491411b5086b44683caff674c7f162f4ac3525628e5c1861d5d201fc842423610a43c24d0c380aa7824a45416631ce90cd7d589788b0cf6912
|
7
|
+
data.tar.gz: ddf9632839a35541c1866003df72ee0d9c0fddf1ad7ab50d445330c77aa40dc52a9d5b3197aa3eacdfb2e70bee58fec7211863f13e6a7357ffaa546d935a813d
|
data/CHANGELOG.md
CHANGED
@@ -1,18 +1,28 @@
|
|
1
|
+
## Rails 7.1.3.1 (February 21, 2024) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 7.1.3 (January 16, 2024) ##
|
7
|
+
|
8
|
+
* No changes.
|
9
|
+
|
10
|
+
|
1
11
|
## Rails 7.1.2 (November 10, 2023) ##
|
2
12
|
|
3
|
-
* Compile ESM package that can be used directly in the browser as actiontext.esm.js
|
13
|
+
* Compile ESM package that can be used directly in the browser as `actiontext.esm.js`.
|
4
14
|
|
5
15
|
*Matias Grunberg*
|
6
16
|
|
7
|
-
* Fix using actiontext.js with Sprockets
|
17
|
+
* Fix using actiontext.js with Sprockets.
|
8
18
|
|
9
19
|
*Matias Grunberg*
|
10
20
|
|
11
|
-
* Upgrade Trix to 2.0.7
|
21
|
+
* Upgrade Trix to 2.0.7.
|
12
22
|
|
13
23
|
*Hartley McGuire*
|
14
24
|
|
15
|
-
* Fix using Trix with Sprockets
|
25
|
+
* Fix using Trix with Sprockets.
|
16
26
|
|
17
27
|
*Hartley McGuire*
|
18
28
|
|
@@ -771,9 +771,9 @@ function start() {
|
|
771
771
|
}
|
772
772
|
|
773
773
|
function didClick(event) {
|
774
|
-
const
|
775
|
-
if (
|
776
|
-
submitButtonsByForm.set(
|
774
|
+
const button = event.target.closest("button, input");
|
775
|
+
if (button && button.type === "submit" && button.form) {
|
776
|
+
submitButtonsByForm.set(button.form, button);
|
777
777
|
}
|
778
778
|
}
|
779
779
|
|
@@ -753,9 +753,9 @@
|
|
753
753
|
}
|
754
754
|
}
|
755
755
|
function didClick(event) {
|
756
|
-
const
|
757
|
-
if (
|
758
|
-
submitButtonsByForm.set(
|
756
|
+
const button = event.target.closest("button, input");
|
757
|
+
if (button && button.type === "submit" && button.form) {
|
758
|
+
submitButtonsByForm.set(button.form, button);
|
759
759
|
}
|
760
760
|
}
|
761
761
|
function didSubmitForm(event) {
|
@@ -66,15 +66,11 @@ module ActionView::Helpers
|
|
66
66
|
# * <tt>[:data][:blob_url_template]</tt> - Defaults to <tt>rails_service_blob_url(":signed_id", ":filename")</tt>.
|
67
67
|
#
|
68
68
|
# ==== Example
|
69
|
-
#
|
70
|
-
# form.rich_text_area :content
|
71
|
-
# end
|
69
|
+
# rich_text_area :message, :content
|
72
70
|
# # <input type="hidden" name="message[content]" id="message_content_trix_input_message_1">
|
73
71
|
# # <trix-editor id="content" input="message_content_trix_input_message_1" class="trix-content" ...></trix-editor>
|
74
72
|
#
|
75
|
-
#
|
76
|
-
# form.rich_text_area :content, value: "<h1>Default message</h1>"
|
77
|
-
# end
|
73
|
+
# rich_text_area :message, :content, value: "<h1>Default message</h1>"
|
78
74
|
# # <input type="hidden" name="message[content]" id="message_content_trix_input_message_1" value="<h1>Default message</h1>">
|
79
75
|
# # <trix-editor id="content" input="message_content_trix_input_message_1" class="trix-content" ...></trix-editor>
|
80
76
|
def rich_text_area(object_name, method, options = {})
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actiontext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.1.
|
4
|
+
version: 7.1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javan Makhmali
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-02-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -18,56 +18,56 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 7.1.
|
21
|
+
version: 7.1.3.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 7.1.
|
28
|
+
version: 7.1.3.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: activerecord
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - '='
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 7.1.
|
35
|
+
version: 7.1.3.1
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 7.1.
|
42
|
+
version: 7.1.3.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: activestorage
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 7.1.
|
49
|
+
version: 7.1.3.1
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 7.1.
|
56
|
+
version: 7.1.3.1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: actionpack
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 7.1.
|
63
|
+
version: 7.1.3.1
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 7.1.
|
70
|
+
version: 7.1.3.1
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: nokogiri
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -163,10 +163,10 @@ licenses:
|
|
163
163
|
- MIT
|
164
164
|
metadata:
|
165
165
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
166
|
-
changelog_uri: https://github.com/rails/rails/blob/v7.1.
|
167
|
-
documentation_uri: https://api.rubyonrails.org/v7.1.
|
166
|
+
changelog_uri: https://github.com/rails/rails/blob/v7.1.3.1/actiontext/CHANGELOG.md
|
167
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.3.1/
|
168
168
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
169
|
-
source_code_uri: https://github.com/rails/rails/tree/v7.1.
|
169
|
+
source_code_uri: https://github.com/rails/rails/tree/v7.1.3.1/actiontext
|
170
170
|
rubygems_mfa_required: 'true'
|
171
171
|
post_install_message:
|
172
172
|
rdoc_options: []
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
- !ruby/object:Gem::Version
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
|
-
rubygems_version: 3.4.
|
186
|
+
rubygems_version: 3.4.10
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Rich text framework.
|