@rails/actiontext 6.1.3 → 6.1.4-4

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