@rails/actiontext 6.1.3-2 → 6.1.4-3

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/CHANGELOG.md +0 -94
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rails/actiontext",
3
- "version": "6.1.3-2",
3
+ "version": "6.1.4-3",
4
4
  "description": "Edit and display rich text in Rails applications",
5
5
  "main": "app/javascript/actiontext/index.js",
6
6
  "files": [
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@rails/activestorage": "^6.0.0-alpha"
24
+ "@rails/activestorage": "^6.0.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "trix": "^1.2.0"
package/CHANGELOG.md DELETED
@@ -1,94 +0,0 @@
1
- ## Rails 6.1.3.2 (May 05, 2021) ##
2
-
3
- * No changes.
4
-
5
-
6
- ## Rails 6.1.3.1 (March 26, 2021) ##
7
-
8
- * No changes.
9
-
10
-
11
- ## Rails 6.1.3 (February 17, 2021) ##
12
-
13
- * No changes.
14
-
15
-
16
- ## Rails 6.1.2.1 (February 10, 2021) ##
17
-
18
- * No changes.
19
-
20
-
21
- ## Rails 6.1.2 (February 09, 2021) ##
22
-
23
- * No changes.
24
-
25
-
26
- ## Rails 6.1.1 (January 07, 2021) ##
27
-
28
- * No changes.
29
-
30
-
31
- ## Rails 6.1.0 (December 09, 2020) ##
32
-
33
- * Declare `ActionText::FixtureSet.attachment` to generate an
34
- `<action-text-attachment sgid="..."></action-text-attachment>` element with
35
- a valid `sgid` attribute.
36
-
37
- ```ruby
38
- hello_world_review_content:
39
- record: hello_world (Review)
40
- name: content
41
- body: <p><%= ActionText::FixtureSet.attachment("messages", :hello_world) %> is great!</p>
42
- ```
43
-
44
- *Sean Doyle*
45
-
46
- * Locate `fill_in_rich_text_area` by `<label>` text
47
-
48
- In addition to searching for `<trix-editor>` elements with the appropriate
49
- `aria-label` attribute, also support locating elements that match the
50
- corresponding `<label>` element's text.
51
-
52
- *Sean Doyle*
53
-
54
- * Be able to add a default value to `rich_text_area`.
55
-
56
- ```ruby
57
- form.rich_text_area :content, value: "<h1>Hello world</h1>"
58
- #=> <input type="hidden" name="message[content]" id="message_content_trix_input_message_1" value="<h1>Hello world</h1>">
59
- ```
60
-
61
- *Paulo Ancheta*
62
-
63
- * Add method to confirm rich text content existence by adding `?` after rich
64
- text attribute.
65
-
66
- ```ruby
67
- message = Message.create!(body: "<h1>Funny times!</h1>")
68
- message.body? #=> true
69
- ```
70
-
71
- *Kyohei Toyoda*
72
-
73
- * The `fill_in_rich_text_area` system test helper locates a Trix editor
74
- and fills it in with the given HTML.
75
-
76
- ```ruby
77
- # <trix-editor id="message_content" ...></trix-editor>
78
- fill_in_rich_text_area "message_content", with: "Hello <em>world!</em>"
79
-
80
- # <trix-editor placeholder="Your message here" ...></trix-editor>
81
- fill_in_rich_text_area "Your message here", with: "Hello <em>world!</em>"
82
-
83
- # <trix-editor aria-label="Message content" ...></trix-editor>
84
- fill_in_rich_text_area "Message content", with: "Hello <em>world!</em>"
85
-
86
- # <input id="trix_input_1" name="message[content]" type="hidden">
87
- # <trix-editor input="trix_input_1"></trix-editor>
88
- fill_in_rich_text_area "message[content]", with: "Hello <em>world!</em>"
89
- ```
90
-
91
- *George Claghorn*
92
-
93
-
94
- Please check [6-0-stable](https://github.com/rails/rails/blob/6-0-stable/actiontext/CHANGELOG.md) for previous changes.