All- We''ve had requests for a live demo of the Textile Editor Helper plugin. It''s now available at: http://slateinfo.blogs.wvu.edu/plugins/textile_editor_helper/demo We''ve also made some changes/fixes: - Chris Wanstrath supplied us with a patch that we''ve implemented. He describes the patch better then I could, "Some of our text_area tags are using the builder syntax, some are not attached to objects, etc, so I just wanted to define all my IDs when calling the init method. This patch lets you do that but maintains the current behavior as well." Hopefully this makes TEH more flexible for folks. Thanks, Chris. - There was a small bug with our interaction with Prototype that we''ve also fixed. So folks shouldn''t see that error in Firebug anymore. - We''ve put in the fix for the svnindex.xsl error that Mohit noted. So our directions should work flawlessly now. - We finally tested TEH in IE6 and didn''t notice any errors so we''ll add it to the list of supported browsers. Again, let us know what you think. -- Proud supporter of DC United --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hey Dave, Nicely done with the editor. Another suggestion would be to have a "preview" button. So you can instantly convert the textile into real HTML so as to see what it looks like when you publish it. Something inline, no refresh, and maybe even some AJAX would do well for this. Nathaniel. On 3/28/07, Dave Olsen <dmolsen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > All- > > We''ve had requests for a live demo of the Textile Editor Helper > plugin. It''s now available at: > > http://slateinfo.blogs.wvu.edu/plugins/textile_editor_helper/demo > > We''ve also made some changes/fixes: > > - Chris Wanstrath supplied us with a patch that we''ve implemented. He > describes the patch better then I could, "Some of our text_area tags > are using the builder syntax, some are not attached to objects, etc, > so I just wanted to define all my IDs when calling the init method. > This patch lets you do that but maintains the current > behavior as well." Hopefully this makes TEH more flexible for folks. > Thanks, Chris. > > - There was a small bug with our interaction with Prototype that > we''ve also fixed. So folks shouldn''t see that error in Firebug > anymore. > > - We''ve put in the fix for the svnindex.xsl error that Mohit noted. > So our directions should work flawlessly now. > > - We finally tested TEH in IE6 and didn''t notice any errors so we''ll > add it to the list of supported browsers. > > Again, let us know what you think. > > -- > > Proud supporter of DC United > > > >-- Nathaniel Steven Henry Brown Toll Free: 1-877-446-4647 Vancouver: 604-724-6624 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I''m blind. Please disregard the suggestion :) haha. On 3/29/07, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:> Hey Dave, > > Nicely done with the editor. > > Another suggestion would be to have a "preview" button. So you can > instantly convert the textile into real HTML so as to see what it > looks like when you publish it. Something inline, no refresh, and > maybe even some AJAX would do well for this. > > Nathaniel. > > On 3/28/07, Dave Olsen <dmolsen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > All- > > > > We''ve had requests for a live demo of the Textile Editor Helper > > plugin. It''s now available at: > > > > http://slateinfo.blogs.wvu.edu/plugins/textile_editor_helper/demo > > > > We''ve also made some changes/fixes: > > > > - Chris Wanstrath supplied us with a patch that we''ve implemented. He > > describes the patch better then I could, "Some of our text_area tags > > are using the builder syntax, some are not attached to objects, etc, > > so I just wanted to define all my IDs when calling the init method. > > This patch lets you do that but maintains the current > > behavior as well." Hopefully this makes TEH more flexible for folks. > > Thanks, Chris. > > > > - There was a small bug with our interaction with Prototype that > > we''ve also fixed. So folks shouldn''t see that error in Firebug > > anymore. > > > > - We''ve put in the fix for the svnindex.xsl error that Mohit noted. > > So our directions should work flawlessly now. > > > > - We finally tested TEH in IE6 and didn''t notice any errors so we''ll > > add it to the list of supported browsers. > > > > Again, let us know what you think. > > > > -- > > > > Proud supporter of DC United > > > > > > > > > > > -- > Nathaniel Steven Henry Brown > > Toll Free: 1-877-446-4647 > Vancouver: 604-724-6624 >-- Nathaniel Steven Henry Brown Toll Free: 1-877-446-4647 Vancouver: 604-724-6624 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Actually, on second thought maybe not. Tradition and conditioning had made me blind, which may be worth reiterating my suggestion. My suggestion was more for a toolbar button that does the preview. And switches the textbox to a preview. Rather than showing it below the editor itself, switch the textile text with the real preview display. Basically switch the edit window for the preview. With the other editors I have worked with, they have a HTML button that lets you see the source code. You could check out the FCK Editor or TinyMCE for ideas on what I mean. Nathaniel. On 3/29/07, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote:> I''m blind. Please disregard the suggestion :) haha. > > On 3/29/07, Nathaniel Brown <nshb-wgYSSEAWXinQT0dZR+AlfA@public.gmane.org> wrote: > > Hey Dave, > > > > Nicely done with the editor. > > > > Another suggestion would be to have a "preview" button. So you can > > instantly convert the textile into real HTML so as to see what it > > looks like when you publish it. Something inline, no refresh, and > > maybe even some AJAX would do well for this. > > > > Nathaniel. > > > > On 3/28/07, Dave Olsen <dmolsen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > All- > > > > > > We''ve had requests for a live demo of the Textile Editor Helper > > > plugin. It''s now available at: > > > > > > http://slateinfo.blogs.wvu.edu/plugins/textile_editor_helper/demo > > > > > > We''ve also made some changes/fixes: > > > > > > - Chris Wanstrath supplied us with a patch that we''ve implemented. He > > > describes the patch better then I could, "Some of our text_area tags > > > are using the builder syntax, some are not attached to objects, etc, > > > so I just wanted to define all my IDs when calling the init method. > > > This patch lets you do that but maintains the current > > > behavior as well." Hopefully this makes TEH more flexible for folks. > > > Thanks, Chris. > > > > > > - There was a small bug with our interaction with Prototype that > > > we''ve also fixed. So folks shouldn''t see that error in Firebug > > > anymore. > > > > > > - We''ve put in the fix for the svnindex.xsl error that Mohit noted. > > > So our directions should work flawlessly now. > > > > > > - We finally tested TEH in IE6 and didn''t notice any errors so we''ll > > > add it to the list of supported browsers. > > > > > > Again, let us know what you think. > > > > > > -- > > > > > > Proud supporter of DC United > > > > > > > > > > > > > > > > > > -- > > Nathaniel Steven Henry Brown > > > > Toll Free: 1-877-446-4647 > > Vancouver: 604-724-6624 > > > > > -- > Nathaniel Steven Henry Brown > > Toll Free: 1-877-446-4647 > Vancouver: 604-724-6624 >-- Nathaniel Steven Henry Brown Toll Free: 1-877-446-4647 Vancouver: 604-724-6624 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Dave, Is it in your plan to make the toolbar customizable? To make our users'' life easier, we added ''quicktags'' shortcuts to allow people to enter text like this: (see [gvideo] and [vimg] in line 2 and 3). h1. a title a google video [gvideo]12345677[/gvideo], a local image [vimg]6666[/vimg], ... How easy is it/would it with the plugin to - add buttons in the toolbar to insert custom code in the text - run a routine before the rendering (to expand the ''quicktags'' into textile-ready text ) Alain --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Nathaniel- I''ll be honest, a preview feature would not be something we''d be looking to implement. I guess we just see TEH as a pure JS kind of thing really. We don''t want to start getting into preview buttons and actions and what not. To us that needs to be left up to the individual developer on how they''d want to pursue that and how best it fits into their methodology and UI. We''re just trying to keep the product really simple and focused. Now what would be useful would be directions on how someone could do that but I don''t think we''d include anything in the install for it. Thanks for the suggestion. -- Proud supporter of DC United --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Alain- The toolbar is customizable. Maybe I should include that in the list of features :) One of the JS files included in the distribution is called textile-editor-config.js. All the info on how to add/remove buttons is there. I think you''ll take one look at it, go ''Ah ha!'' and know how to customize it. The other thing you''ll want to do is modify button-styles.css to add your own images for the new buttons. As for you example, yes, you can do exactly what you propose to add, say a Video icon, to the toolbar and have it spit out the tags you want. Wth the rendering... here you''d be looking at extending RedCloth really. We do something similar using a sub-class of RedCloth called SnippetCloth. It helps us render text like you have into the appropriate display text along with RedCloth rendering the regular textile stuff. Any directions on this are a little out of my depth (I''m slowly turning into a PHB). Hope this helps. Have a good day. On 3/29/07, Alain Ravet <alain.ravet-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Dave, > > Is it in your plan to make the toolbar customizable? > > To make our users'' life easier, we added ''quicktags'' shortcuts to allow > people to enter text like this: (see [gvideo] and [vimg] in line 2 and 3). > > h1. a title > a google video [gvideo]12345677[/gvideo], > a local image [vimg]6666[/vimg], > ... > > > How easy is it/would it with the plugin to > - add buttons in the toolbar to insert custom code in the text > - run a routine before the rendering (to expand the ''quicktags'' into > textile-ready text ) > > > Alain > > > > >-- Proud supporter of DC United --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---