Hi, I just want to ask if there is a javascript library or implementation similar to rails textilize method. What i want to do is have a lightning fast preview from an editor which i want to observe and not have to send a request with ajax to do a preview. Is this feasible at all? Thanks! -- 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 -~----------~----~----~----~------~----~------~--~---
On 03 Aug 2007, at 15:59, Francis Sinson wrote:> I just want to ask if there is a javascript library or implementation > similar to rails textilize method. > > What i want to do is have a lightning fast preview from an editor > which > i want to observe and not have to send a request with ajax to do a > preview. > > Is this feasible at all?http://static.serversidewiki.com/javascripts/textile.js But it''s not what it should be to be honest. It didn''t do it for me, and a quick ajax request (as long as you put some delay so it doesn''t hit the server on each keystroke it won''t be too much of a problem) will return the real generated HTML. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
>> and a quick ajax request (as long as you put some delay so it doesn''t > hit the server on each keystroke it won''t be too much of a problem) > will return the real generated HTML. > > > Best regards > > Peter De BerdtThanks man! will check it out. -- 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 -~----------~----~----~----~------~----~------~--~---