[tw5] Finishing up the new editor toolbar

211 views
Skip to first unread message

Jeremy Ruston

unread,
Apr 1, 2016, 12:49:05 PM4/1/16
to TiddlyWiki
The new editor toolbar is now nearing completion.

You can try out a preview; make sure to try the bitmap editing improvements by clicking the newly introduced “new image” button in the “Tools” tab of the sidebar.

http://rich-text-editor.tiddlyspot.com/

There’s a lot of improvements here:

* Text editing toolbar with support for native wiki text and Markdown with support for:
** Character formatting operations for bold, italic, strikethrough, underline, superscript, subscript, inline monospace
** Line formatting operations for monospaced blocks, quoting, headings and both numbered and bulleted lists
** Insert picture from a dropdown chooser
** Stamp snippet of pre-programmed text
** Excise selected text into a new tiddler
** Optional automatic resizing to fit content
* Bitmap editor toolbar with:
** Painting with selectable colour, width and opacity
** Clearing the image
** Resizing the image
** Keeping track of recently chosen colours
* Full keyboard shortcut editor in control panel (see below)

You can see the code here:

As part of the work, some independent improvements have been made to the core:

* Addition of “new image” button to the “Tools” tab of the sidebar
* Introduction of the new <$wikify> widget: https://github.com/Jermolene/TiddlyWiki5/issues/2337
* Introduction of new <$edit-shortcut> widget for direct entry of keyboard shortcut codes
* Introduction of a new general purpose colour picker macro

There’s still some tidying up to do before the release, but this is a good time to give any feedback on how the new features have turned out. Thanks to everyone for the discussion and ideas so far,

Best wishes

Jeremy.



andrew harrison

unread,
Apr 2, 2016, 11:33:23 AM4/2/16
to tiddl...@googlegroups.com
I can't get it to work in Internet Explorer 11 or Edge. Help?

--
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/D273FFF4-8773-4217-97DB-C1BF36064643%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

andrew harrison

unread,
Apr 2, 2016, 11:37:55 AM4/2/16
to tiddl...@googlegroups.com
Well, in desperation I started hitting buttons real fast and then it started doing things but not where I wanted it to and obviously not functioning like it does in Chrome.

Jeremy Ruston

unread,
Apr 2, 2016, 11:39:34 AM4/2/16
to tiddl...@googlegroups.com
There was some correspondence about the editor toolbar in I.E. 11 in a previous thread ; in brief, the editor commands work in IE11, but the display is not correctly updated. We've had a few suggestions for tricks to fix it, but haven't resolved the issues so far.

Best wishes

<PastedGraphic-1.png>

--
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/D273FFF4-8773-4217-97DB-C1BF36064643%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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.

andrew harrison

unread,
Apr 2, 2016, 12:21:20 PM4/2/16
to tiddl...@googlegroups.com
Well, I found a couple missing semicolons in $:/core/modules/widgets/edit-text-iframe.js on lines 152 and 363 but that still doesn't seem to make a difference with the refresh. I need to learn how to make pull requests. The refresh problem has something to do with how it is refreshing the textarea or saving it after a button is pressed. I found an error that says Line 172: 'newText' used out of scope. It seems really sluggish like it is using expensive mutation. I will go back and reread the discussion but I'm guessing it is the same issue that the undo and redo buttons have.

Reply all
Reply to author
Forward
0 new messages