Skip to content

Commit

Permalink
Merge pull request #47056 from Moiz1524/add-libvips-note
Browse files Browse the repository at this point in the history
Update action_text_overview.md for libvips42 note
  • Loading branch information
rafaelfranca committed Jan 20, 2023
2 parents f549d0d + 7a8dda1 commit 1fa447e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions guides/source/action_text_overview.md
Expand Up @@ -98,6 +98,10 @@ And finally, display the sanitized rich text on a page:
<%= @message.content %>
```

**Note:** if there's an attached resource within `content` field. It might not show properly unless you
have *libvips/libvips42* package installed locally on your machine. Linux based users can run `apt install libvips42`
to install it.

To accept the rich text content, all you have to do is permit the referenced attribute:

```ruby
Expand Down

0 comments on commit 1fa447e

Please sign in to comment.