lexxy 0.1.5.beta → 0.1.8.beta

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d97469124d8bd00ee856e66f48d8d8e7899188baf9d25b1692e72a1387bb5434
4
- data.tar.gz: 0abfd04d0c32c8d4a6ee07d86deef71529370e9ab19755f64745d239e7d89002
3
+ metadata.gz: f5d2b0484ac9aad5019fd912a29090835732381b605e9738ed7d53ee92c30ae6
4
+ data.tar.gz: 5f4d8f87542fa4af872eda21776c0af69e504b7ca1aa6e9139d510b5b23d214b
5
5
  SHA512:
6
- metadata.gz: 1331cfd0fd69bb5cbd89e23b398fea9bde0540fbf23e5cfe41a2bd3c40f451fa12d0d680606d50f1d881496bf8011a7e6008636cbffab91a161a6e59b86dcb81
7
- data.tar.gz: 215fccc8ae0711d1a644c1f34b21f4c96ec642405ef3947e51f731b921d50c755783c9b1ffe0e903ce41c09c687db0aa83fb8209a51fafe73ba8bd7778428e0f
6
+ metadata.gz: b0ed0fd1d053b8d4a88362120f2bb21ab3a79ef7f24e0a0b24fcb59f6b4e40a9b90c53329150b4b4f39370bff9556781c2b679d2c667800f7a3de2e6d7f922fc
7
+ data.tar.gz: 5fbe5195dbc24bf382aad7c51d76108eb7be0903819bf10f2b59014ddd062fe18d133d36314511868526217603588774d7a0b12719529cf59acab24f3b82654f
data/README.md CHANGED
@@ -75,7 +75,7 @@ You can opt out of this behavior by disabling this option in `application.rb`:
75
75
  config.lexxy.override_action_text_defaults = false
76
76
  ```
77
77
 
78
- If you do this, you can invoke Lexxy explicitly using the same helpers with a `lexxy_preffix`: `lexxy_rich_textarea_tag` and `form.lexxy_rich_text_area`.
78
+ If you do this, you can invoke Lexxy explicitly using the same helpers with a `lexxy` preffix: `lexxy_rich_textarea_tag` and `form.lexxy_rich_text_area`.
79
79
 
80
80
  This path is meant to let you incrementally move to Lexxy, or to use it in specific places while keeping Trix in others.
81
81
 
@@ -266,9 +266,7 @@ end
266
266
  And the action would just list the prompt items:
267
267
 
268
268
  ```erb
269
- <% @people.each do |person| %>
270
- <%= render "people/prompt_item", person: person %>
271
- <% end %>
269
+ <%= render partial: "people/prompt_item", collection: @people %>
272
270
  ```
273
271
 
274
272
  ### Free HTML attachments
@@ -345,7 +343,7 @@ The sandbox app is available at http://localhost:3000. There is also a CRUD exam
345
343
 
346
344
  * `lexxy:initialize`: Fired whenever the `<lexxy-editor>` element is attached to the DOM and is ready for use.
347
345
  * `lexxy:change`: Fired whenever the editor content changes.
348
- * `lexxy:file-accept`: Fired whenever a file is dropped or inserted into the editor. You can access the `File` object through the `file` property. Call `preventDefault` on the event to cancel upload and prevent attaching the file.
346
+ * `lexxy:file-accept`: Fired whenever a file is dropped or inserted into the editor. You can access the `File` object through the `event.detail.file` property. Call `preventDefault` on the event to cancel upload and prevent attaching the file.
349
347
 
350
348
  ## Contributing
351
349