WYSIWYG editor that is intergrated with Ruby on Rails [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question 开发者_Go百科I have worked with Ruby on Rails for the last four years. So far I have used textmate for writing the code. This is working great as long as I don't need to do any decent presentation. I was wondering if there is any WYSIWYG editor out there that can intergrate with Rails. Something like Dreamweaver with the ability to browse Objects etc. If I have opened the _show.erb I create a div and selete @user.email. etc.
Any suggestions?
There is no WYSIWYG editor for rails. You can edit HTML templates in a WYSIWYG editor, save them, append an ERB to the file name, and add in the code to make it function. That's not the same as WYSIWYG editing of a rails view though.
However, it sounds like what you're saying is you want to make something that looks pretty, and you feel that you need a WYSIWYG editor in order to be able to do that.
I would encourage you not to think that way. My opinion, for what it's worth, is that you're much more likely to create a beautiful design if the code underneath is, in fact, beautiful as well. Working in a WYSIWYG interface almost always results in terribly sloppy code that is quite hard to work with later on. You can definitely make amazing looking pages from raw code, you just need to work with a preview window open so you can get rapid feedback.
If you're on Mac a great IDE to use is Coda. It has preview, file browser, and terminal built in, so it's quite easy to get rapid feedback on how your code is "looking".
I think your best bet is Coda if you're using OS X.
They offer point and click CSS editing and instant previews. Although not purely WYSIWYG, it still offers added convenience and suits most people fine.
I strongly recommend Netbeans IDE or RubyMine (i'm using Netbeans for like 2 years now, it's just awesome)
精彩评论