Abhay Nikam
b3778c5708
Allows rich_text_area_tag to add I18n translated placeholder text if placeholder option set to true
2019-02-22 10:18:21 +05:30
Javan Makhmali
48c6ef9a72
Fix error saving Action Text content containing non-blob attachables
...
Failing test before the ActionText::RichText change:
```
Error:
ActionText::ModelTest#test_embed_extraction_only_extracts_file_attachments:
ArgumentError: Could not find or build blob: expected attachable, got #<ActionText::Attachables::RemoteImage:0x00007fb0259fef70 @url="http://example.com/cat.jpg ", @content_type="image", @width=nil, @height=nil>
```
2019-01-25 16:57:36 -05:00
George Claghorn
c1e949e9e6
Prefer ImageProcessing's resize_to_limit macro over resize_to_fit
...
Don't upsize images smaller than the specified dimensions.
2019-01-24 11:46:42 -05:00
colorbox
91fc859016
Fix document formatting on Action Text docs [ci skip]
...
Use `+` instead of backquote.
2019-01-24 17:44:35 +09:00
Javan Makhmali
11b73c40c2
Make trix a peer dependency of actiontext since it’s not used directly
2019-01-17 10:42:09 -05:00
Javan Makhmali
86b489e3d6
Move all npm packages to @rails scope
...
Fixes #33083
2019-01-10 11:01:57 -05:00
George Claghorn
29bb990f97
Add load hook for ActionText::RichText
2019-01-07 17:04:58 -05:00
bogdanvlviv
78ed534f30
Fix API docs of ActionText::RichText
[ci skip]
...
This text should appear on the page
https://api.rubyonrails.org/v6.0/classes/ActionText/RichText.html
Related to 86517942e4
2019-01-05 11:01:47 +02:00
George Claghorn
86517942e4
Generate Action Text's API docs
2019-01-04 23:56:22 -05:00
George Claghorn
0decd2ddc4
Import Action Text
2019-01-04 22:22:49 -05:00