Does anyone know how I can find out how to implement one of these? I need an html editor with spellchecker. I have tried numerous suggestions. No success with FCK Editor at all. Tiny MCE works okay but no idea how to use the spell checker. Tried various suggestions. Any ideas? Many thanks, Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
andrew.ohnstad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-May-01 13:27 UTC
Re: FCKEditor, TinyMCE with spell checker
Have you had problems in general, or just with the spell checker? I''ve deployed them both but finally settled with FCKEditor, as it seemed a little more stable, user intuitive, and produced better code. I''ve got it up and running on a site, but I don''t have spell checking (never bothered trying). If you need general help getting them going, post back specific questions. If you need help specifically with the spell checkers, sorry, I can''t help with that. :) On May 1, 9:23 am, mikej <mikejerem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Does anyone know how I can find out how to implement one of these? > > I need an html editor with spellchecker. I have tried numerous > suggestions. No success with FCK Editor at all. Tiny MCE works okay > but no idea how to use the spell checker. Tried various suggestions. > > Any ideas? > > Many thanks, > > Mike--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I am using nice editor, for non Richtext mode, the spell checker is not working but if plaintext mode the spell checker is working fine. But widgEditor''s spell checker is working fine in Rich and Plain text mode. http://teapoci.blogspot.com/2008/04/html-editor-or-rich-text-editor-for.html Reinhart. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for the reply. I was following the instructions at: http://www.workingwithrails.com/railsplugin/5003-fckeditor The code in my view is: <%= javascript_include_tag :fckeditor %> .... <% form_for(@object) do |f| %> *<%= fckeditor_textarea(“object”, “field”, :toolbarSet => ‘Simple, :width => ‘100’, :height => ‘200px’ %> <% end %> Error: syntax error, unexpected '';'', expecting '')'' in * I was hoping to be directed to another text editor or clear set of instructions. Any ideas with the above errors gratefully received. Many thanks, Mike On May 1, 2:27 pm, "andrew.ohns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <andrew.ohns...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Have you had problems in general, or just with the spell checker? > > I''ve deployed them both but finally settled with FCKEditor, as it > seemed a little more stable, user intuitive, and produced better > code. I''ve got it up and running on a site, but I don''t have spell > checking (never bothered trying). > > If you need general help getting them going, post back specific > questions. If you need help specifically with the spell checkers, > sorry, I can''t help with that. :) > > On May 1, 9:23 am,mikej<mikejerem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Does anyone know how I can find out how to implement one of these? > > > I need an html editor with spellchecker. I have tried numerous > > suggestions. No success with FCK Editor at all. Tiny MCE works okay > > but no idea how to use the spell checker. Tried various suggestions. > > > Any ideas? > > > Many thanks, > > > Mike--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
the matter is only in typo. it should be : <%= fckeditor_textarea("object", "field", :toolbarSet => "Simple", :width => "100", :height => "200px" %> The site wrote incorrect code here : <= ... :toolbarSet => ''Simple, ... %> Next more carefull Reinhart http://teapoci.blogspot.com -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Yeah tried that already, same error. Thanks for posts. Checking out widgEditor. Looks great in its simplest form, just checking out if it has enough functionality - need tables, emails. On May 1, 3:07 pm, Visit Indonesia 2008 <rails-mailing-l...@andreas- s.net> wrote:> the matter is only in typo. it should be : > > <%= fckeditor_textarea("object", "field", :toolbarSet => > "Simple", :width => "100", :height => "200px" %> > > The site wrote incorrect code here : > > <= ... :toolbarSet => ''Simple, ... %> > > Next more carefull > > Reinharthttp://teapoci.blogspot.com > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
WE forget closer tag like (...) <%= fckeditor_textarea("object", "field", :toolbarSet => "Simple", :width => "100", :height => "200px") %> Done.!! Test it... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Marvellous. Can''t believe I didn''t spot this. Big thanks. Now just need to configure spell checker and I''m sorted. Mike On May 1, 4:51 pm, Visit Indonesia 2008 <rails-mailing-l...@andreas- s.net> wrote:> WE forget closer tag like (...) > > <%= fckeditor_textarea("object", "field", :toolbarSet => > "Simple", :width => "100", :height => "200px") %> > > Done.!! > > Test it... > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Here''s how I finally did if anyone is interested: Followed http://www.workingwithrails.com/railsplugin/5003-fckeditor Used <%= fckeditor_textarea("“object”", "“field”", :toolbarSet => "Simple", :width => "600", :height => "600px") %> instead of the line posted (thanks Reinhart, have reported error). To get the spell checker working: Add map.connect ''/controller/action/fckeditor/check_spelling'', :controller => ''fckeditor'', :action => ''check_spelling'' to routes. Add include ActionView::Helpers::SanitizeHelper to /vendor/plugins/fckeditor/app/controllers/fckeditor_controller.rb Sorted, Mike On May 1, 5:10 pm, mikej <mikejerem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Marvellous. Can''t believe I didn''t spot this. Big thanks. Now just > need to configurespellchecker and I''m sorted. > > Mike > > On May 1, 4:51 pm, Visit Indonesia 2008 <rails-mailing-l...@andreas- > > s.net> wrote: > > WE forget closer tag like (...) > > > <%= fckeditor_textarea("object", "field", :toolbarSet => > > "Simple", :width => "100", :height => "200px") %> > > > Done.!! > > > Test it... > > -- > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mike, I got this working once upon a time. I think the process is similar for both editors. You have to have aspell installed on your system and available in your path. Basically what happens is the editors make an ajax call to your app when the text needs to be spell checked. Your app then takes that request and calls the aspell program with something like text_to_be_checked.each do |word| result = exec("aspell #{word}") end (this isn''t real code, just an example) You then parse the results and return them to your editor. I can''t remember exactly what format, but its probably JSON. You have to be really careful here that you careful with the exec function so that system commands don''t get injected allowing hackers to take over your system. There are also plugins for those editors that take advantage of in-browser spelling systems, but I don''t know much about them. I hope this helps. If you are still having problems with this I can probably try to dig out some old code. I remember it being quite annoying to get working. -Jake On Thu, May 1, 2008 at 9:10 AM, mikej <mikejeremiah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Marvellous. Can''t believe I didn''t spot this. Big thanks. Now just > need to configure spell checker and I''m sorted. > > Mike > > On May 1, 4:51 pm, Visit Indonesia 2008 <rails-mailing-l...@andreas- > > s.net> wrote: > > WE forget closer tag like (...) > > > > <%= fckeditor_textarea("object", "field", :toolbarSet => > > "Simple", :width => "100", :height => "200px") %> > > > > Done.!! > > > > Test it... > > -- > > Posted viahttp://www.ruby-forum.com/. > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---