@rails/actiontext 6.1.3-1 → 6.1.4-2

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