How to add TinyMCE to Comfortable Mexican Sofa? - ruby-on-rails

I'm evaluating the Rails 4 based CMS Comfortable Mexican Sofa. There is a Wiki entry on how to configure it to use TinyMCE here: https://github.com/comfy/comfortable-mexican-sofa/wiki/Replacing-default-wysiwyg-editor-with-tinymce
However it doesn't work for me. Any ideas? Or ways to configure another free WYSIWYG editor?

As of version 1.12.0 TinyMCE is the standard editor, so you should be good.

Related

Is TinyMCE editor compatible with rails 2?

Is TinyMCE editor compatible with rails 2? what are better editors apart from fck editor that can be used in rails, is it compatible with rails 2 as well?
EDIT:
Is TinyMCE editor customizable? html tags can be used in the editor space?
Yes, TinyMCE is compatible with all versions of Rails, because it really has nothing to do with it, all frontend (client-side) editors are just "decorators" for textareas, meaning Rails doesn't care what's in them.
I normally avoid using editors like TinyMCE or FCK, because they force me to "reverse" my development workflow - they come with everything and I need to strip 90% of functionality down. So a better approach would be to use something like markdown and educate users on it's use.
And yes, pretty much all editors are heavily customizable - I recommend you read their respective manuals

How do I turn a RoR view to Responsive (html5)

I have a normal view in html in Rails, containing images and links. How do I turn it to be responsive? (I want it to fit also mobile browser sizes, make it html5)
I know I should use fluid, but what is the full command? Or is there another/better way directly from the text editor?
Rails has limited control on the HTML that comes on to the browse.
Try looking at frameworks like Bootstrap or Foundation.
There are some gems that can help you
Foundation-rails
twitter-bootstrap-rails
There is also a railscast episode on Bootstrap basics.
This has nothing much to do with Rails. Rails is a server side language and responsive templates are frontend (html/css) dependent.
However if you are specifically using bootstrap as many beginners do, you could try : https://github.com/seyhunak/twitter-bootstrap-rails gem for a quick integration of things.

Are there Gems/Plugins to provide nice styling for Rails application

I'm a developer and not a designer. I'm not looking for something fancy just basic but nice styling.
I used Nifty Generator before which generates some styling but I was looking for something different. Maybe different Themes that automatically styles forms/colors of the app.
Any ideas?
https://github.com/seyhunak/twitter-bootstrap-rails
Twitter Bootstrap for Rails gem is a great way to build apps that look professionally designed. Built by #mdo and #fat at Twitter they made it so they could create great looking rapid prototypes. You can learn more about Bootstrap here: http://twitter.github.com/bootstrap/
Highly recommended.
https://github.com/pilu/web-app-theme
Web App Theme is skinnable, you can download additional themes for it too. There are examples and links on the github page.

WYSIWYG web page editor

Hi i want to use WYSIWYG web editor (the editor should have a option for adding videos, images,powerpoint etc..) on to my Rails application. Can any one suggest how can i integrate this editor into my rails application with above feature support. Thanks in advance
FCKEditor
Now it is known as CKeditor.
Please check this tutorial whcih explains how to integrate FCKEditor in Ruby on Rails
You might want to check out WYSI-dangerous: Why WYSIWYG editors are bad for your website and take a look at wymeditor.

Help with rails and tinyMce

I have been using tinyMce_hammer plugin to use tinymce in my rails app... but right now I also want a way for my users to upload photos and insert them into their wysiwyg editor.... is there a simple way to get this done??.. is there any other wysiwyg editor that works with rails and comes with this feature built in??... what do you reccomend?
These two plugins claim to offer it - Rails 2.3 - https://github.com/andreferraro/rails_tiny_mce
Rails 3 - https://github.com/sandipransing/rails_tiny_mce
I don't think there's an easy way to do this in any of the common rich text editors. I usually have a separate section where users can upload photos and then choose from a variety of layout options.
TinyMCE has a couple of commercial image and file management plugins, but they are based on PHP and .Net. However, I haven't seen a Rails version. It's not particularly hard to build your own image manager using a plugin like paperclip and hook into TinyMCE.

Resources