W, You can try to put that line of code in remove_edit_buttons(), which is the function to disable the editing features. I planned to rename it to stop_editing() or something like that in the next major release.
The function to enable editing features is currently prepare_edit_buttons(), which shall be renamed as well to start_editing() or something similar. Enjoy! Vincent whatever 於 2012年7月10日星期二寫道: > Hi, Vincent, > > This is a kickass plugin that I'm looking forward to using.:D I was > wondering one thing, though, does it set some sort of flag or > something when in table edit mode? For example, I use a CSS class > (servedtable) to hide the first column. Now, I can assign both classes > (servedtable and editable) to the table, but I'd like to disable the > servedtable class when in table edit mode. I played around with the > code a little and found where I can insert a line to disable the > servedtable class, but the problem is, it doesn't reenable it after I > exit the table edit mode and I'm not sure where to insert a line that > would do that. > > And ideas how to go about this? > > w > > On Jul 5, 5:46 pm, Vincent Yeh <qmo.w...@gmail.com> wrote: > > Craig, > > > > Do you mean my TableEdit--Example tiddler? I though I made it private! > > Well, I just removed the <<sum...>> macro and made it public, you can try > > it again. > > > > The <<sum...>> macro is defined in another TableCalculator plugin which > is > > under development and not yet released. > > > > Vincent > > > > 2012/7/5 Craig in Calgary <craig.prich...@gmail.com> > > > > > Where is the <<sum...>> definition used in your example tiddler? > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "TiddlyWiki" group. > > > To view this discussion on the web visit > > >https://groups.google.com/d/msg/tiddlywiki/-/emA1IQo6h0MJ. > > > To post to this group, send email to tiddlywiki@googlegroups.com. > > > To unsubscribe from this group, send email to > > > tiddlywiki+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > >http://groups.google.com/group/tiddlywiki?hl=en. > > > > -- > > Wang-Chi Vincent Yeh, Assistant Professor > > Department of Physics, National Dong Hwa University > > Tel: 8633719 (O) 8633723 (Lab) > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To post to this group, send email to tiddlywiki@googlegroups.com. > To unsubscribe from this group, send email to > tiddlywiki+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/tiddlywiki?hl=en. > > -- Wang-Chi Vincent Yeh, Assistant Professor Department of Physics, National Dong Hwa University Tel: 8633719 (O) 8633723 (Lab) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.