lexxy 0.1.6.beta → 0.1.9.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 +4 -4
- data/README.md +2 -4
- data/app/assets/javascript/lexxy.js +4492 -4467
- data/app/assets/javascript/lexxy.js.br +0 -0
- data/app/assets/javascript/lexxy.js.gz +0 -0
- data/app/assets/javascript/lexxy.min.js +3 -3
- data/app/assets/javascript/lexxy.min.js.br +0 -0
- data/app/assets/javascript/lexxy.min.js.gz +0 -0
- data/app/assets/stylesheets/lexxy-content.css +12 -0
- data/app/assets/stylesheets/lexxy-editor.css +6 -1
- data/lib/lexxy/action_text_tag.rb +2 -2
- data/lib/lexxy/form_helper.rb +1 -1
- data/lib/lexxy/version.rb +1 -1
- data/lib/lexxy.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b78b5bf9021bb45f381a3da1879ca0146f3084091b7ac21b6b49dd7b47f0e6b
|
4
|
+
data.tar.gz: b123e13e32adff1f847a6914789f8f97c86798954c861197feb3cf9c5549dadc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a30b935d910971f32acd1f95aec23624807206182f030f82f94c365eb024ba34c970daecd95e03787d1d78feab663554e48599d008e3b1ecae3d790fc7ef869f
|
7
|
+
data.tar.gz: 41b4ae9469a19335dda3eb1584aaa12b362aa34c4cb5957a5220b5cb17f49f481c5e065be6a98f8419e72a7d1951b66557b183745ee6ea965b1221a0207cf14d
|
data/README.md
CHANGED
@@ -266,9 +266,7 @@ end
|
|
266
266
|
And the action would just list the prompt items:
|
267
267
|
|
268
268
|
```erb
|
269
|
-
|
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
|
|