TWted
and simple calculator TWtcalc
, including a table renderer.<UL>
and <OL>
), as many levels as TiddlyWiki supports;>
, >>
and >>>
;<<<
;triple-braces
.=A1+A2
in the table cell A3
, the content of A3
will be the sum of the numerical values in table cells A1
and A2
.Hi Vincent,
thank you for your wonderful plugin! It makes it easier to use TW with mobile devices especially with complex content.
I tested it with the AndTidWiki app on a Nexus 7 and I have found the following bugs:
* closing tiddlers with toolbar button or close button on tab (TiddlersBarPlugin) fails > only close others works, but it only closes one of the opened tiddlers at a time (Alpha 2 version doesn't show this behaviour)
* classic edit mode shows TWtid buttons > should be disabled
Furthermore I'd like to suggest some features or feature improvements:
* (!) possibility to edit ordinary text blocks with TWtid (by paragraph)
* (!) possibility to edit whole sections like with EditSectionsPlugin (tiddlytools)
* bigger buttons for touch devices (or is it possible to customize them with CSS? > how?)
* show if tiddler was changed with TWtid (maybe a marker in the tiddler title like the exclamation mark in TiddlersBarPlugin?)
* possibility to make a linebreak with enter key while editing inline elements without leaving edit mode (e.g. to insert a new list item)
* easier modifying plugin related CSS classes (maybe an own plugin stylesheet tiddler would make sense)
Hope that helps a bit. You have done a really great job so far. Keep up the good work!
Best wishes,
Albert
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Vincent,
thank you for your wonderful plugin! It makes it easier to use TW with mobile devices especially with complex content.
I tested it with the AndTidWiki app on a Nexus 7 and I have found the following bugs:* closing tiddlers with toolbar button or close button on tab (TiddlersBarPlugin) fails > only close others works, but it only closes one of the opened tiddlers at a time (Alpha 2 version doesn't show this behaviour)
* classic edit mode shows TWtid buttons > should be disabled
Furthermore I'd like to suggest some features or feature improvements:
* (!) possibility to edit ordinary text blocks with TWtid (by paragraph)
* (!) possibility to edit whole sections like with EditSectionsPlugin (tiddlytools)
* bigger buttons for touch devices (or is it possible to customize them with CSS? > how?)
* show if tiddler was changed with TWtid (maybe a marker in the tiddler title like the exclamation mark in TiddlersBarPlugin?)
* possibility to make a linebreak with enter key while editing inline elements without leaving edit mode (e.g. to insert a new list item)
* easier modifying plugin related CSS classes (maybe an own plugin stylesheet tiddler would make sense)
Hope that helps a bit. You have done a really great job so far. Keep up the good work!
Best wishes,
Albert
Wikifier.prototype.outputTextcan help with editing plain text..
Hi Vincent,glad the development goes on. Could you specify what bug you was talking about in the WYSIWYG discussion? The "cursor in the preview" one?
First, I'd like to suggest some things which are not directly connected with the development:* how about adding a simple startup message in the repository [1]? Instead of the default GettingStarted tiddler, add a breif intro about the plugins and links to them, so you don't need to attach the links each time and a visitor doesn't need to search
* it seems it's time to update the Descrition slices in both TWted/TWted.min and TWtid/TWtid.min (those are no longer about tables only)
* I think it's better to specify what version of TWtid TWted needs (the same, or not below, or.. you may specify this in the "Needs to have" slice)* the metadata table of the plugins being cut (see the screenshot 1) don't make them look better; in addition, when one tries to grab the scrollbar, he or she mouseovers it and the table jumps into the edit mode, so scrollbar avoids being cought :) (see the screeshots 2-3, red dot is an approximate posision of the cursor)** in fact, I didn't get how to avoid this cutting and would like to know; as I pointed before, such behavior shouldn't be default
Then some notes about the new version. In fact v1.5.0 got very buggy.0. Online version works (there are some details, but that's not that important for now)1. When I launch a TW v2.6.6 with TWtid.min/TWted.min v1.5.0, I get a blank screen (Opera 12.14, win7 x64)
2. When I launch a TW v2.6.6 with TWtid.min v1.5.0 with no TWted, the same story3. The same story in FF 19 (both variants)4. In another testing TW (2.6.5, with SharedTiddlersPlugin 1.5.0 -- when I disable it, I get blank screen) things "work", but there are numerous bugs (no backstage, C/E buttons positioned in wrong places so that no element can be actually edited, encoding problems with non-latin letters after saving/loading...)
Regarding the "WYSIWYG": aside the cursor, I can see that a link is previewed as a link when the cursor is outside its tiddlytext, previewed as [|[text|target]] when I get between "[[" or "]]" (!!) and parts of the "text" depending on the position otherwise (!). The (!!) part is very interesting behavior for a "WYSIWIG-like" way of editing, the (!), in contrast, is rather inconvenient.
The last note for today is this: can the plugin for inline editing be based on hijacking the wikifier [2] and formatters [3] (or only formatters)? It seems (although I don't understand the alrogrythm well) that hijackingWikifier.prototype.outputTextcan help with editing plain text..
Hi Vincent
I was busy with other things and didn't have time to test (meantime
using the v1.4.6 table editor).
So, after a long time I started testing the new versions (v1.5/0.7.7).
To be honest I only need the table editing feature. That feature makes
editing tables a breeze and I think it is worth to make a separate
plugin for that feature alone (I'am still using the "table-only"
version 1.4.6 daily).
I don't need the possibility of editing of other parts (on a PC with
large screen), but I can imagine other users do like it. For mobile
devices it is a different story (small screen).
In most of my TWs I installed Eric Shulman's Quick Edit package, but
after some time I noticed I used that package only for a few special
(custom defined) formats like an iFrame or an iFrame within a slider.
All other formatting (headers, lists, bold, ... and even some CSS
style wrapping) I do "by hand".
For testing (Windows 7, Firefox 19.02) I made a minimal test case
based on the new TW 2.7.1.
When I only added TWtid.min and TWted.min I only got a blank screen
after saving and reloading.
At first I thought it had something to do with the TW version, but
"older" TWs behaved the same.
Older versions of FF did not help either.
Since other browsers also showed a blank page, it wasn't a FF issue.
But I remembered seeing the the v1.5 plugins working (weeks ago I did
some preliminary testing).
When I added TWtid.min, TWted.min *AND* TWtcalc.min (v0.7.7) to an
empty TW everything worked as expected. After deleting TWtcalc.min the
blank page reappeared!
So there is a certain dependency between the plugins.
That wasn't the case with version 1.4.6; I use TWtid and TWted WITHOUT
TWtcalc!
Regarding the "WYSIWYG": aside the cursor, I can see that a link is previewed as a link when the cursor is outside its tiddlytext, previewed as [|[text|target]] when I get between "[[" or "]]" (!!) and parts of the "text" depending on the position otherwise (!). The (!!) part is very interesting behavior for a "WYSIWIG-like" way of editing, the (!), in contrast, is rather inconvenient.I noticed this behavior. It was caused by the "fake cursor", default to the vertical bar (|), that I inserted to the caret position to mimic a cursor in the previewer. This certainly affects the wikilinks because the vertical bar is used to separate the label and URL of the link. I understand this fake cursor must be changed to something else, but I haven't found a better one yet. Any suggestions?
The last note for today is this: can the plugin for inline editing be based on hijacking the wikifier [2] and formatters [3] (or only formatters)? It seems (although I don't understand the alrogrythm well) that hijackingWikifier.prototype.outputTextcan help with editing plain text..Thanks for the note. Actually I tried this way when I was writing the grandpa TableEditor, but soon gave up and turned to hijacking refreshTiddler(). I couldn't quite understand the formatters, but it seemed to me that I would need to abandon the original and rewrite a new one to replace it (Am I right about this?). Hijacking the refreshTiddler() is easy to implement but the cost is "double rendering": table cells with multi-lined content are rendered twice, first by the system table formatter, then the table renderer in TWtid. Currently it doesn't seem to be a problem because it doesn't delay too much. However, to really avoid this I would suggest the table formatter to have a cell handler, which the TWtid can hijack to render the table cells with multi-lined content before they get rendered by the system formatter.As for editing plain text in view mode, I am not sure hijacking the wikifier or formatter would help, because view mode editing is to catch some thing after it is rendered while hijacking the wikifier/formatter is to catch some thing before it is rendered. The main concern of view mode editing is not how it is rendered but how to find the corresponding wikitext after it is rendered. The problem I see is "plain text does not have a block element (such as <P> or
<DIV>) and signature". TWted needs a block element and its signature to locate the correct wikitext for view mode editing. It relies on block elements becauseWith those signatures and the index number of the block element, TWted can correctly locate the corresponding wiki text. See the [[How?]] section in the to-be-finished document if interested.
- a block element can have a clearly defined index number* in a rendered page, and
- block elements have their "signature" in the wiki text.
- For example, a list item is one line of text that starts with either (*) or (#), a heading is one line of text starting with (!), a table is defined by consecutive lines of text that start with (|), etc.
TWtid v1.6.0 + TWted v1.6.0 + TWtcalc v0.8.0There were quite some bug fixes and much improved transclusion support. Edits plain text in addition to block elements. Removed manual mode and flying C buttons, etc.
Hi Vincent,
воскресенье, 14 апреля 2013 г., 14:11:02 UTC+4 пользователь Vincent Yeh написал:TWtid v1.6.0 + TWted v1.6.0 + TWtcalc v0.8.0There were quite some bug fixes and much improved transclusion support. Edits plain text in addition to block elements. Removed manual mode and flying C buttons, etc.Indeed, backstage is back again and DefaultTiddlers are displayed. One small detail: second-level list items are displayed as* item textinstead of** item text
(in Opera) In FireFox I have this strange positioning issue like Arc does.
Great news that plain text is being conquered. But the situation of bugs/behaviour is complicated, so let me continue my post in a "follow-me" form.First, I create a tiddler "New Tiddler" with the following 5 lines of content (in a TW with vanilla theme -- PageTemplate etc, only some additional CSS):Beginning
* [[TWtid.min]] -- "wikitext manipulator"
* [[TWted.min]] -- "editor"
----
Some more textAs I click on the first list item, I get an edit area and a preview of the second one. If I edit it (say, change to "* [[TWted.min]] -- "editor"+") and press ctrl+enter, I get the first list item visually substituted with the wikified new text which was thought to be from the second item; but if I click "edit" and view the tiddler's text, it becomes clear that actually the second item was changed, and that's a problem of representation.
Next, let's remove the added "+", the text is back to initial.Now I click one of the two list items again and start pressing the "down" key. The editor acts as if there were *three* list items: two copies of the second one and the first one; and the edit area and the preview for the first one are displayed on the left, under the "no tags" box; moreover, the preview area is grey as is the "no tags" box is.Next step is trying to click the first line ("Beginning"). Instead of opening the first line, the editor opens actually the two first lines. That's not a bug, but an unexpected behavior.
Than, let's try to click the last two lines. The editor opens the whole text (the previewer behaves accordingly), but the height of the editor area is only two lines.
Finally, when I move the cursor so that the whole text is enclosed in the border and then click it, I get an editor area of 5 lines height which fits the whole text, and I can edit the whole text.
Now let me extend the tiddler. I add the sixth line:* one more list itemand here more weird things can be found.The behaviour is changed for two lines: 5th and 6th.Clicking line 5 (or line 4 which is the same in terms of displayed borders or plain text pieces) shows now *empty* edit and preview areas.
For line 6, there's two details which makes its behaviour unusual. First, edit area doesn't contain "*" and preview area shows just text instead of a list item. Second, when the cursor in the edit area is one the left position (beginning of the text), preview looks normal; but if the cursor is in any other position, the text in the preview becomes aligned to the right.
Regarding transclusions.. I'll skip testing in my local TW since the behaviour is already very complicated. In the online version [1] in both Opera and FireFox I can't edit (clicking doesn't open the editor). Not sure what cookie should be set but it seems that all of them are set to what they are should be..
In conclusion, this version looks much better, but there's still much to fix/work on.
Yakov,Thanks for the quick reply. What you found with the list items was possibly fixed in the version 1.6.1 just uploaded. I tried locally your example tiddler below with the latest FF 20.0.1 and Opera 12.15 over Win7 x64 and Win XP. It seemed the list item issues you mentioned here are gone. Please try again and let me know if there are more to fix. Thanks again.Some of the issues, however, I never had before and now (see below). Maybe conflicting with some addons?
On Monday, April 15, 2013 6:54:15 AM UTC+8, Yakov wrote:Hi Vincent,
воскресенье, 14 апреля 2013 г., 14:11:02 UTC+4 пользователь Vincent Yeh написал:TWtid v1.6.0 + TWted v1.6.0 + TWtcalc v0.8.0There were quite some bug fixes and much improved transclusion support. Edits plain text in addition to block elements. Removed manual mode and flying C buttons, etc.Indeed, backstage is back again and DefaultTiddlers are displayed. One small detail: second-level list items are displayed as* item textinstead of** item textI didn't have this issue, though. Not sure what was wrong.
(in Opera) In FireFox I have this strange positioning issue like Arc does.I got the correct position both on- and off-line. Did you have the positioning issue with local files?
Great news that plain text is being conquered. But the situation of bugs/behaviour is complicated, so let me continue my post in a "follow-me" form.First, I create a tiddler "New Tiddler" with the following 5 lines of content (in a TW with vanilla theme -- PageTemplate etc, only some additional CSS):Beginning
* [[TWtid.min]] -- "wikitext manipulator"
* [[TWted.min]] -- "editor"
----
Some more textAs I click on the first list item, I get an edit area and a preview of the second one. If I edit it (say, change to "* [[TWted.min]] -- "editor"+") and press ctrl+enter, I get the first list item visually substituted with the wikified new text which was thought to be from the second item; but if I click "edit" and view the tiddler's text, it becomes clear that actually the second item was changed, and that's a problem of representation.Next, let's remove the added "+", the text is back to initial.Now I click one of the two list items again and start pressing the "down" key. The editor acts as if there were *three* list items: two copies of the second one and the first one; and the edit area and the preview for the first one are displayed on the left, under the "no tags" box; moreover, the preview area is grey as is the "no tags" box is.Next step is trying to click the first line ("Beginning"). Instead of opening the first line, the editor opens actually the two first lines. That's not a bug, but an unexpected behavior.Do you mean you see the editbox containing both"Beginning"and"* [[TWtid.min]] -- "wikitext manipulator"?
I didn't notice this behavior and don't see it in 1.6.1, hopefully fixed somehow?
Than, let's try to click the last two lines. The editor opens the whole text (the previewer behaves accordingly), but the height of the editor area is only two lines.As above.Finally, when I move the cursor so that the whole text is enclosed in the border and then click it, I get an editor area of 5 lines height which fits the whole text, and I can edit the whole text.This was intended. I thought it should be good if the tiddler was transcluded. In most cases the border is for showing "which part to edit". In others with "sub elements", such as sub lists, there is a new option chkTWtedIncludeSubs in 1.6.1 to tell the plugin whether to include the sub elements or not.
Now let me extend the tiddler. I add the sixth line:* one more list itemand here more weird things can be found.The behaviour is changed for two lines: 5th and 6th.Clicking line 5 (or line 4 which is the same in terms of displayed borders or plain text pieces) shows now *empty* edit and preview areas.Hopefully fixed in 1.6.1.For line 6, there's two details which makes its behaviour unusual. First, edit area doesn't contain "*" and preview area shows just text instead of a list item. Second, when the cursor in the edit area is one the left position (beginning of the text), preview looks normal; but if the cursor is in any other position, the text in the preview becomes aligned to the right.This seems related to the beginning "second level item" issue. But I never had this issue and the plugins do not remove any character from the text to edit, so not sure what was wrong yet.Regarding transclusions.. I'll skip testing in my local TW since the behaviour is already very complicated. In the online version [1] in both Opera and FireFox I can't edit (clicking doesn't open the editor). Not sure what cookie should be set but it seems that all of them are set to what they are should be..May be try it off-line? The plugins disable editing features when a tiddler is marked "readOnly" by TiddlyWiki. I guess this is why you can't edit on-line.
In conclusion, this version looks much better, but there's still much to fix/work on.Thanks for the helping feedback! Please try 1.6.1 and see if the list item issues are really fixed.
Well, I thought I would separate the "other" part of codes so there is one version for tables only. But soon I realized that was impractical since all editing features share the same core codes. To make one for tables only needs to duplicate the core codes, which does not really help much in reducing the plugin size. Separating the large table support, however, could reduce a noticeable amount of codes, I think, since this part is outside of the core of the plugins.
Yakov,
Thanks for testing the plugins. The "more" thing is not taken care of yet, and the keyboard navigation issues are still there (for a while already). They will be addressed in the future. Currently I am writing some documentation and preparing to separate the large table support (scrolling of table body, fixed rows/cols, etc.) to reduce the plugin size a bit.Well, I thought I would separate the "other" part of codes so there is one version for tables only. But soon I realized that was impractical since all editing features share the same core codes. To make one for tables only needs to duplicate the core codes, which does not really help much in reducing the plugin size. Separating the large table support, however, could reduce a noticeable amount of codes, I think, since this part is outside of the core of the plugins.The version 1.6.4 is mainly on fixing the positioning issue, and some restructuring for the separation of large table support.See release note athttp://http://twtable.tiddlyspace.com/#%5B%5BRelease%20Note%20v1.6.4%5D%5D
download links, test cases and other info.
Have fun!Vincentp.s. By the way, what do you suggest to change in the plugin information? I have not much idea of what that part should be. Or you can give me some reference?
These days I've got a few more bug fixes and improved keyboard navigation to include missing cells. You might be interested to try.
TWtid v2.0.2 + TWted v2.0.2 + TWtcalc v1.0.2
Hi Vincent,
These days I've got a few more bug fixes and improved keyboard navigation to include missing cells. You might be interested to try.
Now editing this table:
|с отсутствующими ячейками|c
|h-cell1|h-cell2|h
|c11|c12|
|c21|
works fine (I enter the missing with arrows and editing works as expected). However, more complicated test
|с отсутствующими ячейками|c
|h-cell1|h-cell2|..|h
|c11|c12|..|
|c21|
la-la-la
brings some issues. They are rather complicated to replicate (especially if there's more complicated content instead "la-la-la" and before the table). But let me point one simple example:
1. Enter the cell c21.
2. Move to the missing c22 using "right" arrow.
3. Add a dot to the c22 (so that content is ".").
4. Move to the right again (this will require two presses of "right").
5. Move to the right again (getting into c21) -- its content is shown as empty.
6. Move to the right yet again (into c22) -- its content is shown as the captioin of the table.
* I haven't tested what happens if the cells are edited on steps 5. and 6. which you can do for further inverstigation.
Another thing is once I start navigating with arrows, I tend to move the cursor outside the table which stops the editing mode. I'd propose to change this behaviour.. (once navigation with arrows started, leaving of the edit mode should be done by pressing ctrl+enter or esc only)
Hello Vincent,
any new achievements so far? Any success with the "selection" idea?
I have finally updated all my TWs to 2.6.5+, so no problems in real-life tesing is expected now. I have refactored all the tests into a somewhat consistent sequence, so let me list all the current issues again (probably that won't be bad for the "bird's-eye-view"). I'd like to highlight the last part, about MathJax, which is very important for me and I'll be very thankful if you solve the main issue about it. So, let's start.
[TWtid/TWted/TWtable 2.0.5 + TW 2.6.5 with STP 2.4.0 + Opera 12.16 + Win7 x64]
0. Separate bugs/notes/questions
0.1 Is the chkTWtedEditAllTables option outdated? It seems that tables are all editable even if the checkbox is unchecked.
0.2 The "i-show-the-element-to-edit-on-click-here" border still appears around the displayArea (id=tiddlerDisplay) and elements with the tagged, tagging classes [which is not desirable]
0.3 If TWted is not launched, but TWtid is (with or without TWtable), backstage is not displayed and on start no tiddlers (from DefaultTiddlers) is displayed
1. Editing simple text
1.1 bug: if the [makrdown] text contains an html-entity (special symbol notation, say §), when I enter the inline editor, it is turned to its "html output", namely §. Although it's a semi-feature (in many cases it just improves the readability), in some cases it's not desirable: if I write an example like this: {{{§}}} → {{{§}}} , after such a transformation I get {{{§}}} → {{{§}}} which is not good.
1.2 the previewer still doesn't work well with long texts because if one starts editing its beginning, the preview of it is above the top end of the screen. Desired behaviour is to cut the previewer and make it autoscroll. Is it the position of the cursor in the previewer which is difficult to grab? I can suggest some solutions on this, but of'course it all depends on the implentation.
1.3 the previewer shows the content in a different styling, as if it was in the SideBar -- this causes, for instant, displaying quotes with simple indents and buttons from macros like <<tag>> not very notable
2. Editing lists
editing of list items that already exist works fine, deleting them is simple and changing the "order" (number of *) of a list item is easy, but there are several issues, too:
2.1 no way to edit new list items (aside editing the whote text). For non-touchscreen devices that could work fine by pressing ctrl+enter
2.2 no way to move list items up and down (although one can copy-paste the content from one list item to another and vise versa, that's not fast..). Could work with alt+up/down
2.3 for list item like this two:
* text{{jD{
some content, like with
> citation
}}} some text after
* text +++[nested slider]
see NestedSlidersPlugin at TiddlyTools
=== some text after
it is only possible to edit the first line, although the list item is somposed from the three lines in each case.. (I use such syntax regularly, that's why I mention this complex example)
3. Editing tables
I haven't refactored all the tests here, but let's start from some issues anyway:
3.1 a single cell is not styled correctly: somewhy it gets "bad" width and sometimes occupies more lines then it's expected. Try this one:
|single cell|
for me, the right border is too much to the right; and this one
|single cell single cell single cell single cell|
occupies two lines (an ordinary monitor, not mobile); without TWted this behaviour disappears.
3.2 I still miss the "move colomn left/right" buttons, would be very nice to have them
3.3 Missing cells after other missing ones are not editable (cases like this:
|a|b|c|
|d|
|e|f|
), but I must admit, there's a workaround: edit the cell after d, then the one next to it, then clear the first one (although that's not very handy).
4. Editing translcuded content
Almost everything is ideal here (I haven't tested the transclusions from the same tiddler, though). The only things are:
4.1 when transcluding with the <<tiddler>> macro, I can edit the transcluded content, but can't edit the macro itself
4.2 There's a bug which I failed to create a separate simple example for; because of this, I attach a slightly modified TW where I test most of the InlineEditing stuff (I removed all the other plugins). To get the bug, you'll need to click the "test" button in the tiddler "InlineEditingPluginHere", choose the "4 Transclusions ..." and in the opened tiddler to mouseover the first table and then move the mouse away. What I get is the whole content of the tiddler is "compressed" by half. May be this is connected with the "wrong table widths" bug (3.1).
5. Complex content
5.1 "One-line" text blocks (without linebreaks \n) in some surrounding, like
* list item
text block
* list item
can't be made "multiline": each enter, ctrl+enter and shift+enter causes exiting the edit mode instead of adding a new line.
5.2 Navigation with arrows is a desirable feature: now it's impossible even to jump between different text blocks with arrow keyboard buttons (which is possible for list items), and ideally it should be possible to.. well, navigate like in some office app -- in the example from 5.1 to jump from the first list item to the text block by pressing "down", the same for jumping from the latter to the next list item etc.
6 Using with MathJax and rewikification
What MathJax (a library that creates math formulae using LaTeX syntax) makes different is the speed of wikification: processing long formulae may take several seconds. Current implementation (see below) adds a number of formatters and hijacks wikify so that original wikify is used first, and the math typesetting is applied to the whole text afterwards. This can be changed to applying typesetting by formatters themselves for each formulae, although I haven't tested performance of such implementation yet.
6.1 The main issue is rewikification. When a symbol is added/removed or cursor is moved (and the "l" symbol is, hence, added in another place), the whole content is wikified again (in the previewer). This makes previewer almost useless once a big formula is added. In the archive [1] you may find an example (the "elder" folder contains MathJax and a copy of "mainstream" PluginMathJax; in the main test file "InlineEditingPlugins + MathJax test.html" there's TwFormulaePlugin which isn't much different from PluginMathJax 1.3). To see how it works, open "InlineEditingPlugins + MathJax test.html", click "tests", open "6 Extras: MathJax tests". Then, copy the first line to another tiddler and play with it -- works fine. Then, copy the part before "=================", try it again and see the difference (in performance of the previewer). Finally, see the whole tiddler "6 Extras: MathJax tests", try to edit the whole content with the previewer: as some formulae are big, you won't see any preview of them while editing.
The question is -- can this behaviour be changed so that only parts of wikitext that are changed are rewikified? Another way to improve the situation is to make rewikification "inertial": add a parameter txtDelayRewikificationMilliseconds which defines a minimal time gap between rewikifications: this will allow at least to see the edited text.
6.2 The second and the third issues are written in the end of the tiddler "6 Extras: MathJax tests". The positioning issue actually affects not only formulae in this tiddler, but the text blocks as well (starting from the second one). Click, for instance, the formulae E = c pi/2 * .... -- the text isn't only taken from the wrong place, it also contains the closing part of the "$$...$$" wrapper.. Yeap, like in the issue 2.3 it's wrappers that are not handled well...
6.3 The third issue is a minor one: alghouth it's supposed that the text in the edit areas should be aligned to the left, it's aligned to the center instead (for many of the parts of the "6 Extras: MathJax tests" tiddler).
-------------------------------------------
So, that's all that I have gathered for now. There are some minor issues that can be fixed in the next release as they can be fixed easily (I suppose), like 0.2, 1.3, (may be) 3.1; some issues to think of and which can help reasonably improve workflow; and some major issues like 6.1, 2.1, 2.2 in solving of which I'm really looking forward and with whick I would like to help if there's something I can do (aside diving into the whole source of TWtid/TWted, of'course). What do you think?
Although I do not know the cause, the fix is easy: assign the content text after, rather then at the same time of, the creation of editbox with jQuery. That is, separate the codes from$ta = jQuery('<textarea>'+txt+'</textarea>');to$ta = jQuery('<textarea></textarea>');$ta.val(txt);
move the cursor to the right until the focusing borders become larger
[TWtid/TWted/TWtable 2.0.5 + TW 2.6.5 with STP 2.4.0 + Opera 12.16 + Win7 x64]
0. Separate bugs/notes/questions
0.2 The "i-show-the-element-to-edit-on-click-here" border still appears around the displayArea (id=tiddlerDisplay) and elements with the tagged, tagging classes [which is not desirable]
0.3 If TWted is not launched, but TWtid is (with or without TWtable), backstage is not displayed and on start no tiddlers (from DefaultTiddlers) is displayed
I do not have these two issues with IE10/Win8 x64 (the only browser/OS combo at hand right now). Will check with other combinations next week. (We are having a four day long weekend for the Moon festival, during which we usually have a gathering with families or a party with friends. But this time we are having a huge tropical storm.)1. Editing simple text
Hi Vincent,
yeap, like you have noticed, your "second" message (after my reply), but also the two others -- got deleted somewhy; anyway, I got them in my email as I'm subscribed for the comments.
Now, "let's talk business" :)
The table row/colomn moving kind of works, but very slowly. In a simple example
|a|b|
|c|d|
moving colomns takes 6-12 seconds, moving rows -- ~4 seconds; it seems that the moving is stored each time but it is not always displayed.. (for better testing I disabled all other plugins and even opened just one tiddler with such table, but still in both Opera and FF I get these problems). By the way, this may be of interest (see the updates to the most voted answer): http://stackoverflow.com/questions/268490/jquery-document-createelement-equivalent
By the way, as far as I understand, thisis because creating element using this syntax http://api.jquery.com/jQuery/#jQuery2 actually parses html, and for textarea parsed text is set, but if you set the value via val, you get it "as is".Although I do not know the cause, the fix is easy: assign the content text after, rather then at the same time of, the creation of editbox with jQuery. That is, separate the codes from$ta = jQuery('<textarea>'+txt+'</textarea>');to$ta = jQuery('<textarea></textarea>');$ta.val(txt);
The html entitites issue, like you said, is gone and the chkTWtedEditAllTables option now works as expected, great.
Some ideas/notes for the issues:
1.3 May be adding some classes that content wrappers have (like "tiddler selected" or "viewer") to the previewer will make styling the same.
2.1 I'd say that's somewhat ok if I can add new lines in an "edit list item" area by pressing some keys. For now, I can only copy-paste the newline symbol from elsewhere (all enter, ctrl+enter, shift+enter, alt+enter either don't do anything or close the edit area), but by adding a newline a list item before, after and of any level can be created.
2.2 Wow, this works! (although causes some jumping of the screen up and down and, like you said, doesn't work well with list items of different level)
4.1 in the tiddler you sited it is said:move the cursor to the right until the focusing borders become larger
well, the problem is on moving to the right the focusing borders either disapper (for text blocks) or don't become larger (list items) and the only way [in my setup] to get the whole transcluded content selected is to put mouse somewhere on the left of the content.
6.1 Ok.. you can ask me some direct questions, but "in vacuum".. Well, the two main function to look at are .subWikifyUnterm (it's simpler, but is used only "once" -- in the .subWikify) and .subWikifyTerm (it is used, for instance, in some formatters like heading, and uses termRegExpr property of formatters). Another important note is that it's easier to start from formatters and then dig wikifying. Finally, it's very important (and not obvious) that formatters keep an eye on the w.nextMatch index: see, for instance, the macro formatter. [*]
Added a popup menu that shows the plugin options when moue is over the right most part of the tiddler title area. It is a popup menu that disappears when you click on it, so it is good only for checkbox options but not the text options. I didn't realize it until just now but I don't have time for this today nor in the next (quite a) few days, so decided to release anyways and fix it later.
The reasons are
Yakov,
It is always exciting to see your reply.
These days I played a bit with your simple test tiddler in my Win7x64 box (in VirtualBox / Ubuntu 13.10) and Win8x64 notebook, using Opera 17.0 in both cases, and found a couple of situations that can cause extremely slow performance in column moving. I managed to fix them and the current version seems to work fine with Opera 17.0+TW2.6.5. However, I don't know if it works with Opera 12.16, so before releasing it could you please test this file (https://www.dropbox.com/s/i06c3jmjjmuug1v/empty.2.6.5.html) with Opera 12.16 and tell me the result? It is just TWtid+TWted 2.0.8 (both minimized) and NestedSlidersPlugin+STP installed in an otherwise empty 2.6.5 TW file, with your test tiddler of course.
I will find time to try other stuffs you mentioned in the last post.
Opera
and Chrome
, the file save operation is triggered multiple times if (and only if) the system option AutoSave
is checked, whereas the autoSaveChanges()
function is confirmed to be called just once. I have no idea how to fix this yet.Hello Vincent,
now the previewer works with the correct styling! Really cool. I like the scrollable thing, too, -- this helps as a temporary solution for big blocks.
The problem of making one-line text blocks multiline got solved partially: in this example
text
* list item
text
* list item
text
I can make the first text block [before list items] multiline (by pressing enter and typing the second line), but the blocks in the middle and in the end still can't be turned multiline (the editor exits on enter and shift+enter and nothing happens on ctrl+enter). This, coupled with several other tests, makes me think that any other thing before a text block (list, line quotation, table) makes it "non-expandable".
The wrong positioning for formulae is solved indeed, and the speed of preview update is now quite reasonable, I'd say (except for really big formulae blocks). This is rather usable now! I've noticed one more thing, though: inline formulae are not editable separately from the text. Can this be fixed without much effort or the editable-element-should-be-block business is rather important? Really huge progress.
Still have that "squeeze and inflate" bugs: in
text
|short line|
text
|long line with many words|
text
in the cell with the short line, there's extra ~margin on the right, with size bigger than that of the text; table has the property width: 128px; which seems to be the cause of this effect.
In the cell with the long line, the content is multiline instead of one-line, and the table has the property width: 175px; which, again, seem to cause the effect.
In general, a very inspiring update, may be I'll redo some other test for it, too.
The problem of making one-line text blocks multiline got solved partially: in this example
text
* list item
text
* list item
text
I can make the first text block [before list items] multiline (by pressing enter and typing the second line), but the blocks in the middle and in the end still can't be turned multiline (the editor exits on enter and shift+enter and nothing happens on ctrl+enter). This, coupled with several other tests, makes me think that any other thing before a text block (list, line quotation, table) makes it "non-expandable".
After trying a while, I could reproduce your situation by "turning off the multi-line rendering mode" (the config.options.chkTWtidMultiLine option). If this is your case then you can check that option to "(not really) fix" the situation. I said "not really" because the inconsistent behavior between the text blocks, when chkTWtidMultiLine is unchecked, is indeed a bug in the codes. I have fixed it (hopefully for real) in the current snapshot and will release it in a couple of days.
The wrong positioning for formulae is solved indeed, and the speed of preview update is now quite reasonable, I'd say (except for really big formulae blocks). This is rather usable now! I've noticed one more thing, though: inline formulae are not editable separately from the text. Can this be fixed without much effort or the editable-element-should-be-block business is rather important? Really huge progress.
The inline element editing was done a few releases ago but still not quite comfortable to use, especially in cases where the rendered element has a width much smaller than its defining wiki text. In my own experiences this turned out to happen more often then I expected, especially with math formulas. For example, \(\vec{\mathbf x}\) generates only one symbol representing a vector x. This makes it uncomfortable in editing an inline element so I haven't started promoting this feature. For inline math there is another issue I haven't fixed yet: inline math can start (and end) with a dollar sign, while a TWtcalc formula can refer to a table cell with a dollar sign (absolute referencing). The former requires a pair, while the latter does not. This sometimes causes confusion and I haven't got an elegant solution yet.
Still have that "squeeze and inflate" bugs: in
text
|short line|
text
|long line with many words|
text
in the cell with the short line, there's extra ~margin on the right, with size bigger than that of the text; table has the property width: 128px; which seems to be the cause of this effect.
In the cell with the long line, the content is multiline instead of one-line, and the table has the property width: 175px; which, again, seem to cause the effect.
The bigger size in the short cell is probably due to the "default to minimum 8 char for the option txtTWtidMinCellWidth".
Changing it to a smaller number and it will be fine (but edit box tries to fit into the cell width and may become too narrow to edit). The two-line height in the longer one, however, is happening with TW2.6.5 but not with 2.8.1.
I added codes to enlarge it a bit if the TW version is earlier than 2.8.0, but I haven't tested it with other versions of TW yet.
Hi Vincent,
The problem of making one-line text blocks multiline got solved partially: in this example
text
* list item
text
* list item
text
I can make the first text block [before list items] multiline (by pressing enter and typing the second line), but the blocks in the middle and in the end still can't be turned multiline (the editor exits on enter and shift+enter and nothing happens on ctrl+enter). This, coupled with several other tests, makes me think that any other thing before a text block (list, line quotation, table) makes it "non-expandable".
After trying a while, I could reproduce your situation by "turning off the multi-line rendering mode" (the config.options.chkTWtidMultiLine option). If this is your case then you can check that option to "(not really) fix" the situation. I said "not really" because the inconsistent behavior between the text blocks, when chkTWtidMultiLine is unchecked, is indeed a bug in the codes. I have fixed it (hopefully for real) in the current snapshot and will release it in a couple of days.
True story, switching chkTWtidMultiLine to true helped. Could you remind what this option is about and why the behaviour set by true is not default?
The wrong positioning for formulae is solved indeed, and the speed of preview update is now quite reasonable, I'd say (except for really big formulae blocks). This is rather usable now! I've noticed one more thing, though: inline formulae are not editable separately from the text. Can this be fixed without much effort or the editable-element-should-be-block business is rather important? Really huge progress.
The inline element editing was done a few releases ago but still not quite comfortable to use, especially in cases where the rendered element has a width much smaller than its defining wiki text. In my own experiences this turned out to happen more often then I expected, especially with math formulas. For example, \(\vec{\mathbf x}\) generates only one symbol representing a vector x. This makes it uncomfortable in editing an inline element so I haven't started promoting this feature. For inline math there is another issue I haven't fixed yet: inline math can start (and end) with a dollar sign, while a TWtcalc formula can refer to a table cell with a dollar sign (absolute referencing). The former requires a pair, while the latter does not. This sometimes causes confusion and I haven't got an elegant solution yet.
I see. How about this one: for block elements, leave "preview appears above" behaviour as is the case now, but for inline ones, make it "edit area appears below" instead? I mean, the preview is displayed in the same element as the actual (say, formula) was, but the edit area appears below it in a separate "window" (like the current previewer appears in a separate "window" above the element). This, of'course, will have the same problem in the previewer if the result gets larger than it was, but this can be overcome by displaying the previewer as a separate "window" not above or below the element (which is edited), but over the element. This will have a drawback of not very neat look (the previewer hovering over the text outside the formula when it's larger; minimum width has to be set equal to the width before editing), but is at least more comfortable to use. Alternatively, the previewer can be kept in the edited element itself, and when the width is changed, the whole containing text block can be rewikified (with current text of the part being edited).
Still have that "squeeze and inflate" bugs: in
text
|short line|
text
|long line with many words|
text
in the cell with the short line, there's extra ~margin on the right, with size bigger than that of the text; table has the property width: 128px; which seems to be the cause of this effect.
In the cell with the long line, the content is multiline instead of one-line, and the table has the property width: 175px; which, again, seem to cause the effect.
The bigger size in the short cell is probably due to the "default to minimum 8 char for the option txtTWtidMinCellWidth".
Correct.
Changing it to a smaller number and it will be fine (but edit box tries to fit into the cell width and may become too narrow to edit). The two-line height in the longer one, however, is happening with TW2.6.5 but not with 2.8.1.
Doesn't happen in 2.7.1 too.
I added codes to enlarge it a bit if the TW version is earlier than 2.8.0, but I haven't tested it with other versions of TW yet.
Not sure what do you mean here..
Actually, I've stumbled upon a new issue with the popups: now I have the popups with TWtxx plugins' options somewhat like 1px height (no possibility to change any option). Unfortunately, I can't inspect the elements, but I guess that's exactly heigth: 1px.
Yakov,
Thanks for raising the issues and the nice comments/questions. Yes I have noticed those bottlenecks you mentioned and have been thinking of possible solutions for them, including the possibilities of a true WYSIWYG editor. But as all we know a WYSIWYG wiki editor for now is something difficult if not impossible, the current solution I am implementing is a floating button that goes with the focusing borders and carries menu items for the creation of new elements, such as tables, list items, etc, similar to the one that goes with the focusing borders around tiddler title and carries menu items for plugin options. This is the easiest way for now and shall work on mobile devices as well as desktops. It should come into play in the next one or two releases.
The plain text is a bit more complicated than DOM elements, for a piece of plain text does not have any signature in its wiki text as other DOM elements do, there might still be issues like these remained in the coming solution. In addition, I am also working on a way to locate the character upon mouse click (for a future work mode even closer to the WYSIWYG expectations), which takes plain text equally as other DOM elements and hopefully will take these issues out for good.
As for the keydown/keyup issue, I remember I had tried both ways and for some reason I do not recall now that I chose to use the keydown event. The issue you mentioned is solved in my current development snapshot and shall be gone in the next release. Thanks for brining it up.
The core codes are now separated from the plugins and collected into a new one called twve.core, with twve standing for TiddlyWiki View mode Editor. This will be the new base that combines the basic features in TWtid and TWted. Extra features that are list-item-specific or other block-element-specific go in twve.extra. All the table related codes go into twve.table and twve.table.large. TWtcalc is renamed to twve.tcalc and continues to offer basic spreadsheet functionalities in TiddlyWiki environment.
With this code structure one can install one of the following combinations:For plugin authors who want access to wiki text of a DOM element or the capability of transclusion synchronization, you can either take the whole twve.core or extract the necessary parts to combine with your codes.
- twve.core + twve.table for table editing (plus twve.table.large for large table supports);
- twve.core + twve.extra + twve.table for all editing features (including all types of block elements and plain text);
- either one of above + twve.tcalc for simple spreadsheet functionalities.
I planned to have the next release on 1/31, the first day of the next Chinese lunar year, but now I am not sure of it as I still have quite some things to finish before the New Year's break. We will see.
I am not quite sure about the CodeMirror stuff. I thought it already inline-editable. Is it not?
Hi Vincent,
понедельник, 27 января 2014 г., 12:45:15 UTC+4 пользователь Vincent Yeh написал:Yakov,
Thanks for raising the issues and the nice comments/questions. Yes I have noticed those bottlenecks you mentioned and have been thinking of possible solutions for them, including the possibilities of a true WYSIWYG editor. But as all we know a WYSIWYG wiki editor for now is something difficult if not impossible, the current solution I am implementing is a floating button that goes with the focusing borders and carries menu items for the creation of new elements, such as tables, list items, etc, similar to the one that goes with the focusing borders around tiddler title and carries menu items for plugin options. This is the easiest way for now and shall work on mobile devices as well as desktops. It should come into play in the next one or two releases.Right, I thought of this solution for touch-devices, too. I think for keyboard devices some hotkey combinations activating the menu items (like "add list item") would do well.
A small note about WYSIWYG. May be you remember, I previously mentioned an idea that once a possibility to place different (wikified) elements in the edit area ("plain text area") is implemented, WYSIWYG is one step away.. today I've noticed that google implemented similar stuff in some services, including Gmail (attachments, citations). Although this should be of little help (Gmail is not open-source), may be this can provide some ideas..
The plain text is a bit more complicated than DOM elements, for a piece of plain text does not have any signature in its wiki text as other DOM elements do, there might still be issues like these remained in the coming solution. In addition, I am also working on a way to locate the character upon mouse click (for a future work mode even closer to the WYSIWYG expectations), which takes plain text equally as other DOM elements and hopefully will take these issues out for good.
Ah, sounds really good. Locating a character should help with the previewer auto-scrolling, too (I guess).
As for the keydown/keyup issue, I remember I had tried both ways and for some reason I do not recall now that I chose to use the keydown event. The issue you mentioned is solved in my current development snapshot and shall be gone in the next release. Thanks for brining it up.
The core codes are now separated from the plugins and collected into a new one called twve.core, with twve standing for TiddlyWiki View mode Editor. This will be the new base that combines the basic features in TWtid and TWted. Extra features that are list-item-specific or other block-element-specific go in twve.extra. All the table related codes go into twve.table and twve.table.large. TWtcalc is renamed to twve.tcalc and continues to offer basic spreadsheet functionalities in TiddlyWiki environment.With the new core, will it be a simple task to activate inline editing only for some elements? Like, say, only for transclusions?
I think it would be helpful for thorough testing and consistent adoption in multiple TW documents (as TW doesn't have comprehensive "undo changes" engine and I use autosaving; and as I have stumbled upon some minor data loss in complicated test cases, I still use inline editing very carefully, in a limited number of documents).
An especially nice application is the combination of ForEachTiddlerPlugin (write action with transclusion) + inline editing plugins to create editable aggregated tables, like with GridPlugin, but with lots of different advantages (which requires only the editing of transclusion with the tiddler macro).
With this code structure one can install one of the following combinations:For plugin authors who want access to wiki text of a DOM element or the capability of transclusion synchronization, you can either take the whole twve.core or extract the necessary parts to combine with your codes.
- twve.core + twve.table for table editing (plus twve.table.large for large table supports);
- twve.core + twve.extra + twve.table for all editing features (including all types of block elements and plain text);
- either one of above + twve.tcalc for simple spreadsheet functionalities.
Actually, this sounds like the thing I'm talking about.
I planned to have the next release on 1/31, the first day of the next Chinese lunar year, but now I am not sure of it as I still have quite some things to finish before the New Year's break. We will see.Aha! Now I know when the New Year begins (is it actually called New Year?). I was going to ask this question previously, but forgot about it.
I am not quite sure about the CodeMirror stuff. I thought it already inline-editable. Is it not?The idea is reverse: to use CodeMirror syntax highlightning inside the inline edit box. A simple use-case: a have a large plugin, with long source code. I can divide it into blocks like:
/***
la-la-la, some metadata and notes
***/
//{{{
part of the code
//}}}
// // Some header/notes/..
//{{{
another chunck of code
//}}}
...
(like in [1] or with even smaller parts) and it would be helpful to be able to open only one block with the CodeMirror highlightning. This can be combined with some sliders for even better workflow with large codes.
A small note about WYSIWYG. May be you remember, I previously mentioned an idea that once a possibility to place different (wikified) elements in the edit area ("plain text area") is implemented, WYSIWYG is one step away.. today I've noticed that google implemented similar stuff in some services, including Gmail (attachments, citations). Although this should be of little help (Gmail is not open-source), may be this can provide some ideas..
You are right that placing different elements in the edit area is necessary, but that I still don't know how to do yet. The easiest way for me is to let the TiddlyWiki's wikifier do the hard work and take the output to show. That is what the current previewer does.
I don't know Gmail has such features. Do you mean Google supports wiki-style syntax?
The core codes are now separated from the plugins and collected into a new one called twve.core, with twve standing for TiddlyWiki View mode Editor. This will be the new base that combines the basic features in TWtid and TWted. Extra features that are list-item-specific or other block-element-specific go in twve.extra. All the table related codes go into twve.table and twve.table.large. TWtcalc is renamed to twve.tcalc and continues to offer basic spreadsheet functionalities in TiddlyWiki environment.
[...]
For plugin authors who want access to wiki text of a DOM element or the capability of transclusion synchronization, you can either take the whole twve.core or extract the necessary parts to combine with your codes.
An especially nice application is the combination of ForEachTiddlerPlugin (write action with transclusion) + inline editing plugins to create editable aggregated tables, like with GridPlugin, but with lots of different advantages (which requires only the editing of transclusion with the tiddler macro).
This I will leave to people familiar with ForEachTiddlerPlugin, I still don't quite understand it (the syntax particularly) and don't know how to use it.
I planned to have the next release on 1/31, the first day of the next Chinese lunar year, but now I am not sure of it as I still have quite some things to finish before the New Year's break. We will see.Aha! Now I know when the New Year begins (is it actually called New Year?). I was going to ask this question previously, but forgot about it.
It is the New Year according to the ancient Chinese lunar calender, which the Chinese people have been using for thousands of years, with modifications from time to time, of course. Even now that people are officially using the modern solar calender, it is still widely used in the Chinese societies. Although having (almost) the same 365 days a year, it does not synchronize with the modern solar calender. For example, this lunar year started from 2/9 of 2013, next is 1/31 of 2014, even next would be 2/19 of 2015. With Chinese zodiac this ending one is the year of Snake, the coming one is that of the Horse, the even next one is that of the Goat.
I am not quite sure about the CodeMirror stuff. I thought it already inline-editable. Is it not?The idea is reverse: to use CodeMirror syntax highlightning inside the inline edit box. A simple use-case: a have a large plugin, with long source code. I can divide it into blocks like:
/***
la-la-la, some metadata and notes
***/
//{{{
part of the code
//}}}
// // Some header/notes/..
//{{{
another chunck of code
//}}}
...
(like in [1] or with even smaller parts) and it would be helpful to be able to open only one block with the CodeMirror highlightning. This can be combined with some sliders for even better workflow with large codes.
Opening only one block is already possible in the view mode (see http://twtable.tiddlyspace.com/#TWted--Example--BlockElements). But I am not sure if I can do highlighting in an edit box (a TEXTAREA). I can certainly give it a try, though.
Hello Vincent,
ok, time to go into more details.A small note about WYSIWYG. May be you remember, I previously mentioned an idea that once a possibility to place different (wikified) elements in the edit area ("plain text area") is implemented, WYSIWYG is one step away.. today I've noticed that google implemented similar stuff in some services, including Gmail (attachments, citations). Although this should be of little help (Gmail is not open-source), may be this can provide some ideas..
You are right that placing different elements in the edit area is necessary, but that I still don't know how to do yet. The easiest way for me is to let the TiddlyWiki's wikifier do the hard work and take the output to show. That is what the current previewer does.First, I'd like to mention here an awkward idea of mine which still may be of some interest. The good part: instead of putting just l symbol in the place where the cursor is, more complicated stuff can be put in there. For instance, <html><span class="inline_edit_cursor">l</span></html> will generate a span element with a certain class, and such an element can be tracked after the wikification, its position can be found in the previewer, and the previewer can behave accordingly. The bad part: once cursor gets inside a wrapping like {{{...}}} or $...$, the whole thing stops working, and we get the whole <html><span class="inline_edit_cursor">l</span></html> inside the pre element, or inside a formula etc. Because of this problems, I haven't mentioned this previously, but now I see a better possibility. Before I mention it, let me notice that WYSIWYGish selection can be implemented in a similar way: just place the <html><span class="inline_edit_selection"> in the begin point and the </span></html> part in the actual end of the selection. Of'course this would cause extra problems with the inside text not being wikified etc.
As I was writing the previous paragraph, I've thought of a better idea. Instead of ordinary wikification, we can use post-wikification (like in MathJax plugin). Consider this: in the place of the cursor, we put some combination of special (and may be alphabet or even hieroglyph) symbols, like, say _|_ (this is a bad combination, I'll discuss the requirements below) and hijack the wikify function so that after ordinary wikification the combination of symbols is located and turned into some element which represents the cursor and can be easily located. Not sure what's the best way to quickly locate the symbol combination in the whole DOM. Now, there's a limitation for the symbol combination: wikification shouldn't turn them into smth else (like pipe symbol | in the combination above can be interpreted as a table cell separator or part of the prettyLink [[text|target]] syntax. So I think an appropriate way to go is to use a combination of symbols from different languages (which hardly will be put together in any text). Like <Chinese hieroglyph meaning pointer><Russian letter ы><French letter ç>. Similarly, an end of selection symbol combintation can be introduced.
I don't know Gmail has such features. Do you mean Google supports wiki-style syntax?
No, I mean Gmail has a WYSIWYG editor which can hold blocks (attachments, citations) inside itself which is similar to the idea of wikified blocks floating inside the edit field.
By the way, have you any ideas about implementing manual row/colomn resize in tables? Native wiki-syntax seems to be incompatible with such things, so this probably would require changing the "table" formatter, too.. But this would be a really helpful option.
Now. let me rephrase my ideas/questions regarding partial inline editing. Like I said, several inline editing possibilities are of especial value (for me, prime things are transclusion and tables), and it would be nice to be able to turn them of and some of the others -- off (until they are well-tested) -- to use them more extensively. ThisThe core codes are now separated from the plugins and collected into a new one called twve.core, with twve standing for TiddlyWiki View mode Editor. This will be the new base that combines the basic features in TWtid and TWted. Extra features that are list-item-specific or other block-element-specific go in twve.extra. All the table related codes go into twve.table and twve.table.large. TWtcalc is renamed to twve.tcalc and continues to offer basic spreadsheet functionalities in TiddlyWiki environment.[...]For plugin authors who want access to wiki text of a DOM element or the capability of transclusion synchronization, you can either take the whole twve.core or extract the necessary parts to combine with your codes.made me think that with the new core it would be sort of easy thing to achieve, will it? I mean, to turn on inline editing for certain elements.
An especially nice application is the combination of ForEachTiddlerPlugin (write action with transclusion) + inline editing plugins to create editable aggregated tables, like with GridPlugin, but with lots of different advantages (which requires only the editing of transclusion with the tiddler macro).
This I will leave to people familiar with ForEachTiddlerPlugin, I still don't quite understand it (the syntax particularly) and don't know how to use it.
I see. Actually, tests showed that FET + inline editing plugins (may I call them IEPs? there are so many names...) doesn't work as expected, and actually that's because partial transclusion doesn't work as expected. So let me first show a simple use-case of FET that you can easily reproduce (which may be helpful in understanding both how FET works and what tasks it can help with), than I'll move to the newly discovered partial transclusion and perview issues.
You can find this example in the attachment, too (find the Test tiddler somewhere on the top of the timeline).
3. Another problem I've discovered while testing this is the permaview issue (not preview): it, well, doesn't work for me in both Opera and FireFox [in my test place with STP and NestedSlidersPlugin]; an interesting detail is -- permalink button on tiddlers does work. I'd recommend to try to reproduce this in any of your TWs, and if that's not successful, try the assembly in the attachment.
I shall need more time to figure it out.
I planned to have the next release on 1/31, the first day of the next Chinese lunar year, but now I am not sure of it as I still have quite some things to finish before the New Year's break. We will see.Aha! Now I know when the New Year begins (is it actually called New Year?). I was going to ask this question previously, but forgot about it.
It is the New Year according to the ancient Chinese lunar calender, which the Chinese people have been using for thousands of years, with modifications from time to time, of course. Even now that people are officially using the modern solar calender, it is still widely used in the Chinese societies. Although having (almost) the same 365 days a year, it does not synchronize with the modern solar calender. For example, this lunar year started from 2/9 of 2013, next is 1/31 of 2014, even next would be 2/19 of 2015. With Chinese zodiac this ending one is the year of Snake, the coming one is that of the Horse, the even next one is that of the Goat.
I am not quite sure about the CodeMirror stuff. I thought it already inline-editable. Is it not?The idea is reverse: to use CodeMirror syntax highlightning inside the inline edit box. A simple use-case: a have a large plugin, with long source code. I can divide it into blocks like:
/***
la-la-la, some metadata and notes
***/
//{{{
part of the code
//}}}
// // Some header/notes/..
//{{{
another chunck of code
//}}}
...
(like in [1] or with even smaller parts) and it would be helpful to be able to open only one block with the CodeMirror highlightning. This can be combined with some sliders for even better workflow with large codes.
Opening only one block is already possible in the view mode (see http://twtable.tiddlyspace.com/#TWted--Example--BlockElements). But I am not sure if I can do highlighting in an edit box (a TEXTAREA). I can certainly give it a try, though.
A pointer to save your time: the actual creation of the CM editor is provided by the CMEditCommands [1] (see the line cm.startEditor(...); i'm not sure whether exploring Mario's/Jim's code is a better option than exploring examples at the CM site or vise versa..), not by zCodeMirrorPlugin (although the latter is required).
By the way, CodeMirror itself can bring some more ideas about WYSIWYG. If you examine the DOM using FireBug or something similar, you'll see that the textarea of CodeMirror is much more complicated thing than just a simple texterea.
Best regards,
Yakov.
...<blockquote class="gmail_quote" style="margin:0px 0px 0px 0
Best regards,
Yakov.
...<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);borde
First, I'd like to mention here an awkward idea of mine which still may be of some interest. The good part: instead of putting just l symbol in the place where the cursor is, more complicated stuff can be put in there. For instance, <html><span class="inline_edit_cursor">l</span></html> will generate a span element with a certain class, and such an element can be tracked after the wikification, its position can be found in the previewer, and the previewer can behave accordingly. The bad part: once cursor gets inside a wrapping like {{{...}}} or $...$, the whole thing stops working, and we get the whole <html><span class="inline_edit_cursor">l</span></html> inside the pre element, or inside a formula etc. Because of this problems, I haven't mentioned this previously, but now I see a better possibility. Before I mention it, let me notice that WYSIWYGish selection can be implemented in a similar way: just place the <html><span class="inline_edit_selection"> in the begin point and the </span></html> part in the actual end of the selection. Of'course this would cause extra problems with the inside text not being wikified etc.
This is an interesting idea and I can give it a try, but I have this question: "Is this how CodeMirror is working?" I think CodeMirror is doing the caret thing well, maybe I can copy its way?
As I was writing the previous paragraph, I've thought of a better idea. Instead of ordinary wikification, we can use post-wikification (like in MathJax plugin). Consider this: in the place of the cursor, we put some combination of special (and may be alphabet or even hieroglyph) symbols, like, say _|_ (this is a bad combination, I'll discuss the requirements below) and hijack the wikify function so that after ordinary wikification the combination of symbols is located and turned into some element which represents the cursor and can be easily located. Not sure what's the best way to quickly locate the symbol combination in the whole DOM. Now, there's a limitation for the symbol combination: wikification shouldn't turn them into smth else (like pipe symbol | in the combination above can be interpreted as a table cell separator or part of the prettyLink [[text|target]] syntax. So I think an appropriate way to go is to use a combination of symbols from different languages (which hardly will be put together in any text). Like <Chinese hieroglyph meaning pointer><Russian letter ы><French letter ç>. Similarly, an end of selection symbol combintation can be introduced.
In the current development snapshot I can, for simple cases though, already locate the character (and the selected text) in one DOM element in the mouseup event, using the window.getSelection() method and some of the core codes in my plugins (I've written a brief explanation for this, see http://twve.tiddlyspace.com/#[[Locating%20the%20character]]. Note that the codes of the plugins are not uploaded to the space yet.).
I don't know Gmail has such features. Do you mean Google supports wiki-style syntax?
No, I mean Gmail has a WYSIWYG editor which can hold blocks (attachments, citations) inside itself which is similar to the idea of wikified blocks floating inside the edit field.
By the way, have you any ideas about implementing manual row/colomn resize in tables? Native wiki-syntax seems to be incompatible with such things, so this probably would require changing the "table" formatter, too.. But this would be a really helpful option.
This I haven't thought about yet because I don't really need this feature. Isn't there something like the Resizalbe in jQuery UI available for TiddlyWiki?
Now. let me rephrase my ideas/questions regarding partial inline editing. Like I said, several inline editing possibilities are of especial value (for me, prime things are transclusion and tables), and it would be nice to be able to turn them of and some of the others -- off (until they are well-tested) -- to use them more extensively. ThisThe core codes are now separated from the plugins and collected into a new one called twve.core, with twve standing for TiddlyWiki View mode Editor. This will be the new base that combines the basic features in TWtid and TWted. Extra features that are list-item-specific or other block-element-specific go in twve.extra. All the table related codes go into twve.table and twve.table.large. TWtcalc is renamed to twve.tcalc and continues to offer basic spreadsheet functionalities in TiddlyWiki environment.[...]For plugin authors who want access to wiki text of a DOM element or the capability of transclusion synchronization, you can either take the whole twve.core or extract the necessary parts to combine with your codes.made me think that with the new core it would be sort of easy thing to achieve, will it? I mean, to turn on inline editing for certain elements.
I see. It should not be difficult, I think. I will certainly think about it.
An especially nice application is the combination of ForEachTiddlerPlugin (write action with transclusion) + inline editing plugins to create editable aggregated tables, like with GridPlugin, but with lots of different advantages (which requires only the editing of transclusion with the tiddler macro).
This I will leave to people familiar with ForEachTiddlerPlugin, I still don't quite understand it (the syntax particularly) and don't know how to use it.
I see. Actually, tests showed that FET + inline editing plugins (may I call them IEPs? there are so many names...) doesn't work as expected, and actually that's because partial transclusion doesn't work as expected. So let me first show a simple use-case of FET that you can easily reproduce (which may be helpful in understanding both how FET works and what tasks it can help with), than I'll move to the newly discovered partial transclusion and perview issues.Right now I feel like calling the collection of my plugins twve, the TiddlyWiki View mode Editor, but surely you can call it the way you like.
Best regards,
Yakov.
...|a|b|c|
|d|
|e|f|</s
...
Interested in editing your tiddler in the view mode in TiddlyWiki? Try this view mode editor plugin TWted (requires TWtid).Interested in a calculator that supports (partially for now) Excel syntax in Tiddlywiki? Try the simple calculator plugin TWtcalc (requires TWtid).These plugins are under active development. You are very welcome to give comments/suggestions/bug reports. :-)The first versions of these plugins were TableEditor and TableCalculator, released in 2012/06/24, that only supported table editing in the view mode. Later they were extended constantly and then evolved into TWtable, TWted and TWtcalc (released 2012/10/19), still only supported table editing. Recently they were further extended to support view mode editing on most of the block elements (see below) in a tiddler, much more than just a table editor, so I decided to start a new thread for these plugins. You can find their earlier history in the old thread "Inline Editing of Tables" started by pepebe.
- TWtid v1.5.0 — The basis of the view mode tiddler editor
TWted
and simple calculatorTWtcalc
, including a table renderer.
- Generalized the codes from TWtable 1.4.6, which works for tables only, to support most kinds of block elements, see descriptions for TWted below.
- The included table renderer supports
- scrolling for large tables,
- multi-lined cell content (you can have a list in a table cell),
- synchronization among all copies (transcluded and non-transcluded).
- See TWtid for more details.
- TWted v1.5.0 — The view mode tiddler editor.
- Edit block elements either in view mode (default) or in edit mode (option description "Active in view mode")
- If in view mode, the default edit box remains the same;
- if in edit mode, the view mode remains for viewing only.
- The system default edit box can be brought up by double clicking in a no-element area (note that some elements are much wider than their content).
- Works on most of the block elements:
- Tables —
- easy access to cell content for editing purposes
- insertion/deletion of rows/columns
- copy/cut/paste the cells/rows/columns
- Lists — both kinds, * and # (corresponding to
<UL>
and<OL>
), as many levels as TiddlyWiki supports;- Headers — ! ~ !!!!!!, corresponding to H1 ~ H6;
- Blockquotes — three levels supported:
>
,>>
and>>>
;- Blockexamples — lines of text enclosed by two
<<<
;- Preformatted blocks — lines of text enclosed by two
triple-braces
.- A simple previewer to see the output as you are typing.
- Option txtTWtedPreviewOpacity to change opacity of the previewer. Default to 0.9.
- Option txtTWtedPreviewCaret to specify the caret symbol in the previewer. Default to the vertical line (|).
- Edit tiddler title.
- Two options offering three levels of automation in the editing behavior:
- Two options:
- chkTWtedCatTheMouse — Activate/Deactivate edit mode with mouse motion.
- chkTWtedNoClick — Edit the cell content without clicking it.
- Three levels of automation:
- Manual: set both options to false. Click the 'E' button to start/stop editing the closest block element.
- Half automated: set the 1st option to true and 2nd to false. In this level a table enters edit mode automatically when mouse is hovering over it while other block elements remain manual. 'E' button is hidden, need to lick within the block element (or the table cell) to edit.
- Automated: set both options to true. Move the mouse over a block element or a table cell to edit. (Warning: this can be annoying in some cases!)
- Keyboard navigation within the same type of elements.
- Works with headers, list items, blockquotes and preformats.
- Move list items, only list items for now, with Ctrl-up/down keys. This, however, only works within the same level at this moment, moving items across different levels will be supported in the future release.
- Tables are synchronized between transcluded and non-transcluded copies, other block elements are not yet.
- See TWted for more details.
- TWtcalc v0.7.7 — A simple calculator for TiddlyWiki.
- Calculates over table cells. For example, if one puts
=A1+A2
in the table cellA3
, the content ofA3
will be the sum of the numerical values in table cellsA1
andA2
.- Supports syntax similar to OpenOffice calc or Microsoft Excel.
- Automatically adjusts cell reference upon copy-and-pasting.
- Supports user defined functions written in Javascript. See TWtcalc--Defining your own functions for details.
- See TWtcalc for a list of predefined functions and further details.
...
- Three levels of automation:
- Automated: set both options to true. Move the mouse over a block element or a table cell to edit. (Warning: this can be annoying in some cases!)
- Keyboard navigation within the same type of elements.
- Works with headers, list items, blockquotes and preformats.
- Move list items, only list items for now, with Ctrl-up/down keys. This, however, only works within the same level at this moment, moving items across different levels will be supported in the future release.
- Tables are synchronized between transcluded and non-transcluded copies, other block elements are not yet.
- See TWted for more details.
...
- </li
...
...
- Preformatted blocks — lines of text enclosed by two 
Yakov,
Thanks for the help. I think I have fixed that bug in the current snapshot. Hopefully it is gone for good.
I haven't got the slices yet, but have been debugging the next version (tons of bug fixes!).
I am also preparing a document for plugin authors to use the twve.core for view mode editing and/or transclusion synchronization purposes. After that I will work on the slice things and try to make it available in the next release (if it's easy).
...
- Lists — both kinds, * and # (corresponding to
<UL>
четверг, 10 апреля 2014 г., 10:56:59 UTC+4 пользователь Vincent Yeh написал:Yakov,
Thanks for the help. I think I have fixed that bug in the current snapshot. Hopefully it is gone for good.
I haven't got the slices yet, but have been debugging the next version (tons of bug fixes!).
That's good. The 2.0.8 build often makes Opera 12.16 crash, so I use it mostly with FireFox. I'll wait for the next version before I start to figure how to reproduce those crashes (if they don't vanish).
I am also preparing a document for plugin authors to use the twve.core for view mode editing and/or transclusion synchronization purposes. After that I will work on the slice things and try to make it available in the next release (if it's easy).RIght. Probably taking a look at the setSlice method in the Eric's GridPlugin [1] would ease the implementation.
...
- Edit block elements either in view mode (default) or in edit mode (option description "Active in view mode")<ul style="margin:0px 0px 0
...
...
...
...
Hi Vincent,
I am still using the old versions TWted.min_v1.4.6 & TWtable.min_v1.4.6.
Since I am mainly interested in the table editor, I only installed twve.core v3.0.0 & twve.table v3.0.0 in a fresh TW v2.8.1 (using Windows 7 64-bit, Firefox v29.01, and Chrome v34.0.1847.137) and did some quick tests.
Completely according to Murphy's law, the first test I did went wrong ;-)
1) I tested with an available table that contained pretty links in cells.
I think you can imagine what happened: the "|" in the pretty link was seen as a cell boundary and the row will contain an extra cell. So when editing you get a cell with e.g. "[[Google" and the next cell with "http://www.google.com]]"
I had never seen this before, so I checked a TW containing the old version v1.4.6. There it worked "normal". I think you lost a precondition during refactoring.
2) When hovering over a table I get the "Hamburger" icon with a tooltip "table menu" *and* a message "transpose", but when clicking the "Hamburger" nothing happens. What is it supposed to do? Like clicking the "C" in the old version, a link to "twve.core Options" and "twve.table Options?
3) When clicking the GettingStarted tiddler (at a "blank" spot within the dotted boundaries), I get a message "tiddler[GettingStarted] does not exist!"
Are there any plans to make a TW5 version?
...Best regards,
Yakov.
[1] <a href="http://www.TiddlyTools.com/#GridPlugin" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.TiddlyTools.com%2F%23GridPlugin\46sa\75D\46sntz\0751\46usg\75AFQjCNHCd8HZ3eK6sceRQsqKqRlPBMxe2A';return true;"
Ton,
Thanks for the quick test and respond!
On Wednesday, May 14, 2014 4:34:48 PM UTC+8, Ton Gerner wrote:Hi Vincent,
I am still using the old versions TWted.min_v1.4.6 & TWtable.min_v1.4.6.
Since I am mainly interested in the table editor, I only installed twve.core v3.0.0 & twve.table v3.0.0 in a fresh TW v2.8.1 (using Windows 7 64-bit, Firefox v29.01, and Chrome v34.0.1847.137) and did some quick tests.
Completely according to Murphy's law, the first test I did went wrong ;-)Hahaha! That's nice!
1) I tested with an available table that contained pretty links in cells.
I think you can imagine what happened: the "|" in the pretty link was seen as a cell boundary and the row will contain an extra cell. So when editing you get a cell with e.g. "[[Google" and the next cell with "http://www.google.com]]"
I had never seen this before, so I checked a TW containing the old version v1.4.6. There it worked "normal". I think you lost a precondition during refactoring.
Yeah, I was wondering why you are having this trouble and I am not, but soon I found that I accidentally moved that part of codes into twve.extra, which you did not install and I did (and that explains why I don't have this problem). Sorry and thank you. This is a no-need-to-code bug and easy to fix: just move that part of codes into either twve.core or twve.table. I'll fix it tonight.
2) When hovering over a table I get the "Hamburger" icon with a tooltip "table menu" *and* a message "transpose", but when clicking the "Hamburger" nothing happens. What is it supposed to do? Like clicking the "C" in the old version, a link to "twve.core Options" and "twve.table Options?There is an option chktwveTableTranspose that you need to check to enable transposition (otherwise the "transpose" message is dimmed and not functioning). See the instructions given in Transposition example.
I put in this option long time ago and did not mention it at all, because the transposition codes were not correct and could mess up with the other part of the tiddler text (see this document if you are interested in the details). I am thinking of removing it since (I think) the codes are correct and safe now.
3) When clicking the GettingStarted tiddler (at a "blank" spot within the dotted boundaries), I get a message "tiddler[GettingStarted] does not exist!"
Ah, that's a debug message for me. I will take it off tonight.
Are there any plans to make a TW5 version?Yes, I am actually working on it, but I haven't got clear the plugin and refreshing mechanisms yet... If you can point me to a simple example, it will be highly appreciated!
...
...
...
...<blockquote style="margin:0;margin-left:
...I put in this option long time ago and did not mention it at all, because the transposition codes were not correct and could mess up with the other part of the tiddler text (see <a href="http://twve.tiddlyspace.com/#%5B%5BTransposing%20a%20table%20--%20backward%20thinking%5D%5D" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Ftwve.tiddlyspace.com%2F%23%255B%255BTransposing%2520a%2520table%2520--%2520backward%2520thinking%255D%255D\46sa\75D\46sntz\0751\46usg\75AFQjCN
Hi Vincent
Sorry i did not respond earlier but I have been busy with upgrading all my TW5s and customization guides for TW5 to v5.0.12-beta.
One issue I had with twve.core/twve.table v3.0.1 was with the SiteSubtitle of TW; for some reason new text there behaved not normal (sometimes appeared in 2 - different - places).
Just forget it since with v3.0.2 I don't see that issue anymore.
My last remark in my previous post was : "I now will try it in my main TWclassic."
I did that but noticed my backstage button had disappeared. I remembered we have seen this before [1].
An empty TW with twve.core/twve.table does show the backstage button, so it can be one of my plugins is interfering.
The list of my plugins:
DropDownMenuPlugin
GotoPlugin
ImageSizePlugin
ImportTiddlersPlugin
InlineJavascriptPlugin
ListFiltrPlugin
NestedSlidersPlugin
QuickEditPlugin
QuickNotePlugin
QuickOpenTagPlugin
RenameTagsPlugin
SaveAndReloadMacro
SearchOptionsPlugin
SimpleMessagePlugin
SystemInfoPlugin
TabEditPlugin
TableOfContentsPlugin
TableSortingPlugin_TB
TagSearchPlugin
TagsplorerMacro
TiddlerTweakerPlugin
TiddlersBarPluginMP
TiddlyFileImportr
ToggleTagPlugin
YourSearchPlugin
TWted (v1.4.6)
TWtable (v1.4.6)
or
twve.core.min
twve.table.min
But that missing backstage button was a minor problem.
Normal table editing was almost not possible. First of all row and column numbers did not appear when hovering over the table and the extra menu (row/column handling) did not show either.
When trying to edit a cell, in most cases the tiddler itself showed in - a strange - edit mode (difficult to describe).
I had the impression it had something to do with the TiddlersBarPlugin and/or TabEditPlugin, but did not investigate it further.
Then I switched back to TWted (v1.4.6)/TWtable (v1.4.6) to get my TW working again ;-)
Today, after installing v3.0.2 a big surprise: no weird behavior anymore, I could edit a table in the "normal" way.
But:
* A tiddler without a table is editable: the title and the text (dashed boxes around title and body when hovering)
* Not only the table is editable. The title and the body text of a tiddler (with or without table) can be edited as well and that gives rise to strange effects.
Normally you click outside the table to leave edit mode.
Clicking outside the tiddler toe leave title/body text editing works partly: you have to click to the left or to the right of the tiddler to leave edit mode. Clicking below the tiddler does nothing.
An empty TW with twve.core/twve.table did behave differently:
* A tiddler Test without a table is not editable (not the title, not the text; no dashed boxes around title and body when hovering
* When trying to edit a tiddler with a table and some text, you can edit the table and the body text but you *cannot* edit the title.
But after a reboot, the tiddler Test was editable! The strange thing is that shadow tiddlers like GettingStarted and MainMenu were not editable.
Still stranger, overwritten shadow tiddlers like SiteTitle and SitSubtitle, are not editable as well, while new made tiddlers are editable!
Very, very strange.
Another problem is that tiddlers with tables are not always refreshed (in my main TW). See images of normal table and table that is not refreshed.
<blockquote style="margin:0;margin-left
...
...
Hi Vincent,
great work -- both in quantity and quality (many bugs have gone)!
I haven't redone all the tests (for the 3.x series) yet, but have done some of them (one bug have been already fixed in 3.0.2), so let's start from a lesser amount of feedback (which is still plenty, probably).
1. Ordinary text
1.1 For a long multiline text block (say, 50 lines), the edit area is generated with heigh not only for all the lines (without cutting and scroll bar), but even higher, which is not convenient.
1.2 From this, I deduced a proposal for a rough solution for the previewer autoscolling (for big text block, the previewed text is sometimes out of the screen):
# maximum height of both edit area and previewer should be 50% of the screen height, otherwise they got scrollbar
# when edit mode is opened, if the height of either edit area or previewer is > 33% of the screen height, the page is autoscrolled so that the top border of the previewer coincides with the top of the screen
# if the previewer has the scrollbar, it is (onscroll of the edit area) automatically scrolled (see jQuery.scrollTop), so that the ratio (scroll position/total height) is the same for the edit area and the previewer
2. Lists
2.1 Now the list items order is changed not only on ctrl+up/down, but also on ctrl+left/right (which is totally inconvenient -- ctrl+left is usually used for quick navigation, to jump over words)
2.2 Changing of the list order is rather slow
2.3 Still:
2.3.1 both ctrl+enter and enter work as "save and exit the list item edit area", I propose to leave the functionality to ctrl+enter and process enter as adding of a new line -- otherwise there's no good (inline) way to add a new list item
2.3.2 complex list items like this are not handled properly (same thing with nested sliders in list items):
* start list item {{justDiv{
> citation
}}} end list item
2.3.3 multi-level lists don't interact well with list items order changing
3. Tables (haven't made consistent testing yet)
3.1 Multiline cells interact in an incorrect way with the following text. To understand what I mean, try this in a tiddler:
|text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text long enough to be multiline|
text
3.2 Inline editing (at least adding/removing colomns) seem to remove additional classes. Say, I have a borderless table
|borderless|k
|text|
After I add a new colomn, the table becomes with borders (it is ok for edit mode, but in view mode I would like to have my CSS applied). The |borderless|k part is not removed, if the tiddler is reopened, the borders are gone again.
CSS here is
.borderless, .borderless tr, .borderless th, .borderless td { border: none !important; }
Note the !important part: without it, the stying is not applied at all -- I would consider this as a bug, too.
4. Compability bugs
n.1 Nested sliders are somewhy open on load, try this syntax (usually, for "open on load" ++++[label]text=== syntax is used)
+++[nested sliders are somewhy]
open on load
===
Ok, that's all for now. Nice to see the development going on!
Best regards,
Yakov.
PS waiting for slice editing, too :)
...
- Quite some bug fixes and some improvements. See Release Note v3.0.2 at <a href="http://twve.tiddlyspace.com/#%5B%5BRelease%20Note%20v3.0.2%5D%5D" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Ftwve.tiddlyspace.com%2F%23%255B%255BRelease%2520Note%2520v3.0.2%255D%255D\46sa\75D\46sntz\0751\46usg\75AFQjCNGntRPcm5q5R6VsOD3MLL6E5WzI7A';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Ftwve.tiddlyspac