► Check out gorails.com for Pro episodes and more! ► Ruby on Rails hosting with Hatchbox.io! hatchbox.io
Пікірлер: 23
@MichaelBckerLarsen4 жыл бұрын
I believe the setSelectedRange should be ([position - (endPos - startPos), position]) otherwise it will consume from the start in some cases.
@sakshijain32864 жыл бұрын
I am facing this issue and spend a lot of time. Finally! this help me thanks!
@muhammadumar368710 ай бұрын
It helped me alot! thanks
@dbelyaev5 жыл бұрын
Very useful lesson! Thanks
@acushlakoncepts3 жыл бұрын
Thank you Chris
@alexandrsikorsky88664 жыл бұрын
very nice! tnx
@certilremy5 жыл бұрын
I wonder if anyone have this problem like me, try to edit your post , add some text and save and tell me what happen . On my side after creating my post with mention ,my post doesn't save my changes .
@bogdanGri3 жыл бұрын
Actually in JS it should be: @trixEditor.setSelectedRange([startPos, position]) otherwise it will delete whole line.
@howtogame983 жыл бұрын
Thanks for the video. How can I capture the user in my controller so I can create a notification for them?
@eFFecTzz564 жыл бұрын
Hi, thanks for video. How I can check attachments from Trix (action text) in active record validations ? Thanks .
@flightrecord57345 жыл бұрын
Hi Chris! Is there a way to email the users who are mentioned?
@GorailsTV5 жыл бұрын
Just covered that on today's episode!
@dbelyaev5 жыл бұрын
Chris, there is another extra required feature for Trix: Inserting KZbin videos into the editor. Maybe with button and popup, maybe just on Paste event. Please, make a movie on that topic.
@GorailsTV5 жыл бұрын
They don't really recommend embedding KZbin videos directly in Trix. Basecamp actually embeds the preview image in Trix and then renders out the actual video later. Could make an episode on that with ActionText. github.com/basecamp/trix/issues/206#issuecomment-198479999
@dbelyaev5 жыл бұрын
@@GorailsTV please, make it. It's necessary to make this topic clear.
@dbelyaev5 жыл бұрын
@@GorailsTV I don't understand why WordPress community can create fully-featured instance of Tinymce (classic) with KZbin, Twitter, Facebook, Instagram embeds, and why others like 37 signals cannot.
@dbelyaev5 жыл бұрын
Why it's so easy to embed KZbin videos with, for example, SummerNote (summernote.org)? And there is too much troubles with Trix. I don't understand.
@Pulleasy5 жыл бұрын
@@GorailsTV Please do. I'm currently struggling with this as well.
@chibuzorefedigbue1052 жыл бұрын
I tried this with rails 7 and I am Tribute doesn't even attach
@paulobramantebr Жыл бұрын
Me too
@paulobramantebr Жыл бұрын
Is rich_text not found here
@CForChannel11 ай бұрын
@GoRailsTV I am facing an issue, whenever I am trying to mention someone after some text, it removes my all text and adds mentioned user name at the start. how to solve this issue?