The little arrow buttons give an NS_ERROR_FAILURE message.
The problem with linking/transcluding via titles is that then you either have to stick with that title forever or be willing to go back and edit all the places it is referenced. I often find myself wanting to change a title -- sometimes the muse just isn't there when you're doing your first draft. As a consequence, I rarely use the linking feature. It would be useful if there were a way to link via some ID field which would never have to change.
<$view field="title"/>
<$view field="caption"><$view field="title"/></$view>
[[this is what the reader sees|TiddlerID]]
\define clink(tid)
<$link to="""$tid$"""><$view field="""$tid$!!caption"""><$view field="""$tid$!!title"""/></$view></$link>
\end
<<clink TiddlerID>>
Best wishes
Jeremy.
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/31B2757E-F001-4B97-BEB5-0CFB1727FF4E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Monday, March 7, 2016 at 10:16:51 AM UTC-8, Mark S. wrote:The little arrow buttons give an NS_ERROR_FAILURE message.
The problem with linking/transcluding via titles is that then you either have to stick with that title forever or be willing to go back and edit all the places it is referenced. I often find myself wanting to change a title -- sometimes the muse just isn't there when you're doing your first draft. As a consequence, I rarely use the linking feature. It would be useful if there were a way to link via some ID field which would never have to change.Use of a special "unique tiddler ID" field has been suggested many times, for both TiddlyWiki Classic and TiddlyWiki5. Typically, after much discussion of alternative architectures and backward compatibility, we generally come back to the fact that TiddlyWiki already has a field that holds a unique ID for each tiddler: the *title* field, and that what is really being discussed is a distinction between a tiddler's ID and the title that people see.
...
Hi Eric,
Thanks for your explainer. But there's something wrong with your macro definition. It seems to want the tiddler= attribute rather than the combined field=tiddler!!field.
Also, is the idea that only the caption OR the title shows up? I could fix it, but it would show both caption and title when both were available.
It's a basic database design requirement that key linking fields be immutable. Title fields should float on top of the data independently so they can be freely altered as the use case is refined. I guess if I was going to depend on a macro solution I would want one that would create links based on a separate id field. But I suppose the link macro would have to do some sort of expensive field search so ... I don't know.
* An “excise” button that slices the selected text into a new tiddler and replaces it with a link or transclusion to the new tiddler
* A “stamp” button that brings up an extensible list of snippets that can be selected with a single click
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5710db60-33f8-4b9e-8292-f1c3e3b4cde8%40googlegroups.com.
I forgot to add that there is also now a picture chooser.
The problem with a toolbar connected with the tiddler is that the tools quickly get scrolled away as the text gets longer. If the toolbar was in the sidebar, then the tools would be still available as one writes.
On Wednesday, March 9, 2016 at 6:17:49 PM UTC-5, Mark S. wrote:
The problem with a toolbar connected with the tiddler is that the tools quickly get scrolled away as the text gets longer. If the toolbar was in the sidebar, then the tools would be still available as one writes.There's a still-experimental feature in TW5 to make the titles of tiddlers "stick" to the top of the screen as you scroll down. Unfortunately, it only works in some browsers — but if this could ever become a universal feature, I think it would be handy to make it available for the formatting bar, too — so that, as you scroll down the page, the bar always remains visible on the screen.
An alternative might be to wrap the bar in a CSS class and make is user-configurable for the bar to have a fixed position (position:fixed; margin-top:0; or position:fixed; margin-bottom:0;).
How do you activate this feature?
an idea would be to have the toolbar show at bottom of the textfield. You are more likely to write at the end of your text, i.e close to frame bottom.
But the ideal might be some kind of popup at cursor position so it appears exactly where you are.
Probably too much to ask but can the RichTextEditor be offered as an optional plugin instead of permanent Core?
Probably too much to ask but can the RichTextEditor be offered as an optional plugin instead of permanent Core?Hmmm.
It does seem the text editor should come out of $:/core/ui/EditTemplate/body and into its own tiddler that could be listed (or not) in the list field of $:/tags/EditTemplate.
That would allow easy removal for those who don't want it and more modularity for those who want to create their own custom EditTemplates for different purposes. A user (like, oh, say, Mat) could also use list-before/list-after to decide whether to display the rich edit bar above or below the story body textarea. ;)
The tiddler body embedding the textarea in an iframe disables these handy bookmarklets from Skeeve (StephanHradek) [1]
If the toolbar stays in the Core, I think a lot of these bookmarklets can be reformatted as snippets, but I wonder about side effects of the new textarea/iframe on other tools/services that interact with tiddler bodies?
I'm excited to learn how to make macro snippets. The snippets reminds me of Eric's great QuickEditPackage [2]
On that note, has anyone made a snippet to insert the value of the macro call into the tiddler body, ie hard coded value?
Basically, the <<now>> macro would make a handy hard coded date timestamp if the timestamp value can be inserted
which goes toward future proofing tiddler data sans html.
As for testing, i can report the ItsAllText addon for FireFox still works so one can still edit with vim :-) [3]
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5def3a53-1eee-4b6f-b8ec-f236bf152a86%40googlegroups.com.
which goes toward future proofing tiddler data sans html.I’m not sure what you mean here, Mat?
My preferred option is to add a toolbar button that fixes the height of the textarea (using scrollbars if needed) so that it fits on screen with the toolbar.
make it possible to create a toolbar button with a dropdown containing a form and a submit button that passes the form values to the macro and inserts the wikified output. Pretty much like the functionality of the excise button, but without needing JavaScript.
which goes toward future proofing tiddler data sans html.
I’m pleased to say that TiddlyWiki is finally getting an extensible rich text editor toolbar in the core. There’s a preview you can try out here:
I’m interested in feedback on how well it works on different browser/operating system combinations, but please feel free to post any thoughts or questions too,
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2a82ad0b-6347-4e15-9aa9-f7e84157e576%40googlegroups.com.
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3d869e10-ca71-4260-89d8-c4e0cf9b2ee3%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b213657b-3a90-4404-a464-969283e378d7%40googlegroups.com.
On 15 Mar 2016, at 11:55, 'Stephen Kimmel' via TiddlyWiki <tiddl...@googlegroups.com> wrote:If you go to http://rich-text-editor.tiddlyspot.com/ and open the TiddlyWiki Pre-release tiddler, you'll see the basic icons but not the new ones. Go to the Control Panel, Text Editor Toolbar you'll see that Paint Colour, Opacity, Line Width, etc, are all checked. If you go to $:/core/ui/TextEditorToolbar/paint you'll see that is has a condition field which, as close as I can tell, is identical to the one for $:/core/ui/TextEditorToolbar/bold.
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1d37f2bc-0363-44cb-9c16-a36320b43e47%40googlegroups.com.
Sort of along those lines, I would be interested in knowing what SVG editors people are using
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7f215b57-e32f-4486-9ae8-9f3572bb8850%40googlegroups.com.
I’m still working away on the text editor toolbar. I’ve uploaded a new preview that includes keyboard shortcuts for most toolbar text editor operations; the shortcut is shown in the tooltip.
Just a quick heads-up that these two (very minor) issues are still present:
- If some text in the middle of a paragraph is selected, the block markup (code/quote/list/numbered list/headings) buttons fail to insert the empty leading line needed for correct rendering
- For excising text, I believe linking would be a better default than transclusion. (unless you've changed your mind about this)
Bad news: Most buttons don't work on Microsoft Edge (somewhat ironically, undo/redo do work). Looks like a problem with scripting changes to the editor widget; no error messages on the JS console. Not an issue for me personally, I just happened to test with Firefox on Windows 10 so I gave it a quick shot with Edge as well; just letting you know.
Cheers,
Knut
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/29b875b0-e8b0-4935-ae36-20b7e7dd54e1%40googlegroups.com.
While I dont think that is within the scope of this release, would you ever consider it in near future?
I also do not think that is within the scope of this particular release - but maybe a consideration for future release? For reference, LibreOffice also has such a feature. Tremendously useful
this.iframeTextArea
of the widget, the CSS rules are messed up because of the "new" document of the iframe. this.dummyTextArea
of the widget, the popup looks fine but then the computation of the position of the popup is rather hard to compute (up to now). // Copy the styles from the dummy textarea
var textAreaStyles = window.getComputedStyle(this.dummyTextArea,null),
styleText = [];
$tw.utils.each(textAreaStyles,function(name,index) {
styleText.push(name + ": " + textAreaStyles[name] + ";");
});
this.iframeTextArea.style.cssText = styleText.join("");
this.iframeTextArea.style.display = "block";
this.iframeTextArea.style.width = "100%";
The Formating Bar is a great addition - especially the Excise button!
I think it would also be a good idea to include a tag bar below the 'tag with current tiddler' to the excise button.
Also - is there a way to modify the current Headings (change the colors, size, etc)? Add more heading presets (H7, H8, H9, H10, etc.)?
A feature that is tremendously useful in any text editing software is the ability to 'fold' texts and also to move the folded text up/down.
LibreOffiice for example has a feature of Ctrl+(arrow keys) - and you can move a bullet up or down, indent it, etc - very easily.
While I dont think that is within the scope of this release, would you ever consider it in near future?
Another great addition to the editor would be auto detection of all HEADINGS, and creating a mini hierarchal outline of them on the side. This help the user navigate the tiddler easily when editing.
I also do not think that is within the scope of this particular release - but maybe a consideration for future release? For reference, LibreOffice also has such a feature. Tremendously useful
Tables are a extreme hassle in any markdown/wiki language -
so currently I think transcluding an html tiddler with the table into the main tiddler - edited via an external editor is the best option. But I can not find such a solution to the text folding/moving…
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cc2988f8-a5f9-4d76-8c8d-ddff40930b6e%40googlegroups.com.
while I'm not a great fan of toolbars (I usually unview them), I must say that Jeremy did a great and nice work. And this will greatly enhance people usablility of TW5.
Nevertheless, I even tried to add "my" completion popup window in this new text-iframe widget. (see http://snowgoon88.github.io/TW5-extendedit). In the "module" branch I modified the module so that it can be easily included to any textarea and I tried to add it to the text-iframe. But this poses problem within the iframe element...
1) if I create my "popup" div element alongside thethis.iframeTextArea
of the widget, the CSS rules are messed up because of the "new" document of the iframe.
2) if I create my "popup" div element outside of the iframe, as a sibling of thethis.dummyTextArea
of the widget, the popup looks fine but then the computation of the position of the popup is rather hard to compute (up to now).
Well... Anyone knows how I could somehow transfer the CSS definition of my popup elements so that they apply and are reconised inside the "#document" of the iframe ?? That would help me a lot.
Is this the purpose of the following lines in the widget ? No other way around ?
Again, "bravo" and nice job.
Alain
PS : my plan would be to be able to also "stamp" by using a slight deviation of the completion popup...
--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7c9db70f-65ca-44f3-b324-d9065ca3e749%40googlegroups.com.
The others are harder. The trouble is that there are cases where one wouldn’t want the extra line inserted, particularly if the preceding line were another heading or list item. I’m not sure the best way to address it; anyhow, the operation is implemented here:
I just downloaded a VM of Windows 10 with Edge for testing, and interestingly, it seems that the toolbar buttons do work (including the shortcuts), but the textarea updating is buggy - try using the toolbar with the preview pane open to see what I mean. I’ll investigate further; perhaps there’s some magic that will trigger the textarea to redisplay itself correctly.
--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/6yUkcDzp7ko/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CEC08DA3-47F7-46FC-9254-AF0638BBF36D%40gmail.com.