From e473eb392ccc8219e9f1aafb13357af5bdccdc27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Fri, 27 Dec 2019 03:23:48 +0200 Subject: [PATCH] Polish the Action Text guide [ci skip] --- guides/source/action_text_overview.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guides/source/action_text_overview.md b/guides/source/action_text_overview.md index 2e42259175..e46d8e6af7 100644 --- a/guides/source/action_text_overview.md +++ b/guides/source/action_text_overview.md @@ -57,13 +57,13 @@ require("trix") require("@rails/actiontext") ``` -2. The`trix` stylesheet should be imported into `actiontext.scss`. +2. The `trix` stylesheet should be imported into `actiontext.scss`. ```scss @import "trix/dist/trix"; ``` -Additionally this `actiontext.scss` file should be imported into your stylesheet pack. +Additionally, this `actiontext.scss` file should be imported into your stylesheet pack. ``` // application.scss @@ -96,7 +96,7 @@ Then refer to this field in the form for the model: <% end %> ``` -And finally display the sanitized rich text on a page: +And finally, display the sanitized rich text on a page: ```erb <%= @message.content %> @@ -134,7 +134,7 @@ On installation, Action Text will copy over a partial to } ``` -2. Take that attachable_sgid and ask your frontend to insert it in rich text content using an tag: +2. Take that attachable_sgid and ask your frontend to insert it in rich text content using an `` tag: ```html ``` -- GitLab