Release of TableEdit to 1.1.0
Added a couple of new features and fixed some bugs.
Major changes:
- Enable/disable edit mode.
- A small button labeled "E" is attached to the top-right corner of
the table (with class "editable", still).
- Click that "E" button to enable/disable edit mode for that table.
- Allow insertion and deletion of rows and columns anywhere in the
table.
- Some buttons (ugly, I know) at the right side and bottom of the
table.
Please give it a try. Comments/suggestions are welcome!
Vincent
On Sunday, July 1, 2012 3:59:13 PM UTC+8, Vincent Yeh wrote:
>
>
> Fixed the FF and IE9 issues mentioned below. Hopefully it should be
> working fine in Chrome, FireFox and IE9 on desktops.
>
> Problems with TWEdit on the iPad still remain...
>
> Vincent
>
> On Sunday, July 1, 2012 9:46:21 AM UTC+8, Vincent Yeh wrote:
>>
>> On my computer the only browser that works just as expected is Google
>> Chrome and no one else.
>>
>> - FF doesn't respond to mouse clicking so no way to start editing.
>> - IE9 doesn't respond correctly to <Enter> and <Cancel> so the edit
>> box won't go away. Looks like it has problems saving the file.
>> - TWEdit on the iPad gives me the rendered HTML codes instead of
>> wikitext. For example, the TableEdit plugin receives <span
>> style="color:red;">text in red</span> instead of the expected
>> @@color:red;text in red@@.
>>
>> Hmmmmmmmmm, I have no idea about these at all! I shall need a lot of time
>> to fix them. If some has any idea to fix one of those, please help to speed
>> up!. Thanks a lot!
>>
>> Vincent
>>
>> On Tuesday, June 26, 2012 9:09:22 AM UTC+8, Vincent Yeh wrote:
>>>
>>>
>>> Anthony, thank you for trying the plugin and giving feedbacks. And for
>>> your last question on uploading, I have no idea how to do that currently (I
>>> have experiences in programming but not much in javascript and the web
>>> things.) It will take me sometime to figure out. If someone has answers and
>>> would like to contribute, it will be highly appreciated.
>>>
>>> Eric, thank you for pointing out the key point which I never knew myself.
>>>
>>> I have been using Google Chrome for the development of this plugin
>>> (inspired by and modified from TableSortingPlugin v2.0.2 by Saq Imtiaz
>>> and GridPlugin v2.0.7 by Eric Shulman. Many thanks to them.) It seems to
>>> work just fine for me and I turned out to forget about other browsers. Next
>>> time I will try them out myself but as mentioned above most likely I do not
>>> have the knowledge to fix the cross-browser things. I shall be relying on
>>> more experienced people to do that.
>>>
>>> Vincent
>>>
>>> On Tuesday, June 26, 2012 2:05:25 AM UTC+8, anthony wrote:
>>>>
>>>> Last question...sorry for so much spam...
>>>>
>>>> I am using this wiki as a webbased system, when I edit the table I
>>>> would like for it to upload to the web versus to a local file...is there
>>>> anyway for that to be done?
>>>>
>>>> On Monday, June 25, 2012 12:55:56 PM UTC-5, anthony wrote:
>>>>>
>>>>> spamming...sorry
>>>>>
>>>>> I fixed the issue with IE, it was a version issue. I was using IE8
>>>>> (preferred over here) but upgraded to 9 and it is working PERFECTLY. this
>>>>> plugin is going to make our tiddlywiki amazing in terms of what we were
>>>>> trying to do.
>>>>>
>>>>> So in short I think IE8 may not work properly with this plugin.
>>>>>
>>>>> On Monday, June 25, 2012 12:22:23 PM UTC-5, Eric Shulman wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Jun 25, 8:23 am, anthony <[email protected]> wrote:
>>>>>> > Just tried your plugin...am I missing something? I loaded the
>>>>>> plugin and
>>>>>> > tried your example both on my tiddly and yours and neither were
>>>>>> > editable...maybe I am just missing something though.
>>>>>>
>>>>>> The plugin works in IE, but not in FF or other browsers.
>>>>>>
>>>>>> The reason is because IE uses a different method of processing
>>>>>> events. In IE, all events are processed by first setting a global
>>>>>> variable "event" and then invoking the appropriate onclick handler to
>>>>>> process the event. However, in other browsers, the event is *passed*
>>>>>> to the handler as a parameter.
>>>>>>
>>>>>> The plugin problem arises due to this line of code:
>>>>>>
>>>>>> cell.onclick = function(){editInPlace(this,event);};
>>>>>>
>>>>>> In order to make this cross-browser compatible, it should be re-
>>>>>> written as:
>>>>>>
>>>>>> cell.onclick = function(ev){editInPlace(this,ev|event);};
>>>>>>
>>>>>> This allows non-IE browsers to properly use the passed in event as a
>>>>>> variable named 'ev', while IE continues to fallback to using the
>>>>>> global 'event' variable.
>>>>>>
>>>>>> enjoy,
>>>>>> -e
>>>>>> Eric Shulman
>>>>>> TiddlyTools / ELS Design Studios
>>>>>>
>>>>>> WAS THIS ANSWER HELPFUL? IF SO, PLEASE MAKE A DONATION
>>>>>> http://www.TiddlyTools.com/#Donations
>>>>>> Professional TiddlyWiki Consulting Services...
>>>>>> Analysis, Design, and Custom Solutions:
>>>>>> http://www.TiddlyTools.com/#Contact
>>>>>>
>>>>>>
>>>>>>
>>>>>>
--
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/-/VWdNChzMU7QJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.