actiontext 7.1.2 → 7.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -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 +1 -1
- data/package.json +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4313fb0db4c57a41976e0dd0d8311235e32fcd966c49c4d5da1fc76ccf3a3c19
|
4
|
+
data.tar.gz: 1c6f538ca06525f027cee23bfb76b301ae6ca8c5737035eac7756ac420ff82a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c9da506c6f8c7516ae80bab515e709abb29f1730ff7c8ff6e4b5d8bb14d44cd10c168e674951a48e6aeffcf8b36b6877a6e7e14a8bdeae7fdf246e560c0ea30
|
7
|
+
data.tar.gz: 8c30ed4e1f0df31e2296e973536f4a30712e280e4dee146d9b5eade3945c37e52078c7685db22f5e943b8c2d38a090ea61d76619392fdddb075fcde29e1cc567
|
data/CHANGELOG.md
CHANGED
@@ -1,18 +1,23 @@
|
|
1
|
+
## Rails 7.1.3 (January 16, 2024) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
1
6
|
## Rails 7.1.2 (November 10, 2023) ##
|
2
7
|
|
3
|
-
* Compile ESM package that can be used directly in the browser as actiontext.esm.js
|
8
|
+
* Compile ESM package that can be used directly in the browser as `actiontext.esm.js`.
|
4
9
|
|
5
10
|
*Matias Grunberg*
|
6
11
|
|
7
|
-
* Fix using actiontext.js with Sprockets
|
12
|
+
* Fix using actiontext.js with Sprockets.
|
8
13
|
|
9
14
|
*Matias Grunberg*
|
10
15
|
|
11
|
-
* Upgrade Trix to 2.0.7
|
16
|
+
* Upgrade Trix to 2.0.7.
|
12
17
|
|
13
18
|
*Hartley McGuire*
|
14
19
|
|
15
|
-
* Fix using Trix with Sprockets
|
20
|
+
* Fix using Trix with Sprockets.
|
16
21
|
|
17
22
|
*Hartley McGuire*
|
18
23
|
|
@@ -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
|
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-01-16 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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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/actiontext/CHANGELOG.md
|
167
|
+
documentation_uri: https://api.rubyonrails.org/v7.1.3/
|
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/actiontext
|
170
170
|
rubygems_mfa_required: 'true'
|
171
171
|
post_install_message:
|
172
172
|
rdoc_options: []
|