Jeremy Ruston
2016-03-07 17:34:08 UTC
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:
http://rich-text-editor.tiddlyspot.com/
The breakthrough was (re)-discovering how to avoid losing the selection when clicking on one of the toolbar buttons. The solution turns out to be as simple as embedding the textarea in an iframe. There are some complexities stemming from the fact that the content of the iframe doesnât inherit the prevailing CSS styles.
Anyhow, the code is complete enough to be usable. Besides the expected formatting operations there are a couple of interesting additions:
* 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
Itâs still a work in progress; the things left to are listed in the pull request:
https://github.com/Jermolene/TiddlyWiki5/pull/2315
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,
Best wishes
Jeremy.
http://rich-text-editor.tiddlyspot.com/
The breakthrough was (re)-discovering how to avoid losing the selection when clicking on one of the toolbar buttons. The solution turns out to be as simple as embedding the textarea in an iframe. There are some complexities stemming from the fact that the content of the iframe doesnât inherit the prevailing CSS styles.
Anyhow, the code is complete enough to be usable. Besides the expected formatting operations there are a couple of interesting additions:
* 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
Itâs still a work in progress; the things left to are listed in the pull request:
https://github.com/Jermolene/TiddlyWiki5/pull/2315
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,
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 ***@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/E8E9EADD-37E6-4498-952D-EBBDD8111501%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 ***@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/E8E9EADD-37E6-4498-952D-EBBDD8111501%40gmail.com.
For more options, visit https://groups.google.com/d/optout.