Reputation: 65
I'm currently learning Ruby on Rails, and for my first project, I'm creating a blog application by following the instructions in this tutorial. However, I've encountered an issue when trying to improve the edit textbox using Action Text. I followed the instructions from the linked video, but my text box appears like this:
Do you have any idea what might be wrong? I'm unsure about what additional information you need to better understand the problem, so please let me know, and I'll provide you with the necessary code. For now, here's how my application.html.erb file looks:
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<title>RD</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag "trix" %>
<%= stylesheet_link_tag "actiontext", "data-turbo-track":"reload" %>
</head>
<body>
<%= render 'home/header' %>
<div class="container">
<br/>
<p class="notice"><%= notice %></p>
<p class="alert"><%= alert %></p>
<div>
<% if user_signed_in? %>
<%= button_to "Log out", destroy_user_session_path, method: :delete %>
<% end %>
</div>
<%= yield %>
</div>
</body>
</html>
Upvotes: 0
Views: 174