-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create trix-editor in project #63
base: master
Are you sure you want to change the base?
Conversation
@@ -14,4 +14,4 @@ | |||
//= require popper | |||
//= require bootstrap-sprockets | |||
//= require activestorage | |||
//= require_tree . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you test how this deletion influences on user interface?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
))))
@@ -13,6 +13,6 @@ | |||
*= require bootstrap_and_overrides | |||
*= require static_page | |||
*= require _colors | |||
*= require_tree . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Здесь тоже
@@ -0,0 +1 @@ | |||
<%= field.to_s %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Разве без to_s
не работает?
По-моему, оно само приводит
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Данные вещи гинерил administrate, при создании нового field'a
Gemfile
Outdated
@@ -28,6 +28,7 @@ gem "simple_form", "4.0.1" | |||
gem "administrate", "0.10.0" | |||
gem "will_paginate", "3.1.6" | |||
gem "administrate-field-carrierwave", "0.3.2" | |||
gem 'trix', "0.11.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Эта версия не совместима. Судя по всему, у тебя опечатка. У меня по дефолту стала 0.10.1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trix 0.11.1
на рубигемах... Прикольно)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Проверь, пожалуйста, работает ли у тебя на 0.11.1 и у других?
Я просто пулил и выдало ошибку.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
У тебя ещё вся вёрстка полетела, если зайти, как пользователь :)
Исправь.
//= require cable | ||
//= require static_page | ||
//= require cable | ||
//= require trix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add last line
Создавая пуллреквест, я:
diff
измненеий содержит только внесеные мной изменения