On Saturday, August 24, 2019 at 12:26:42 PM UTC+3, Jeremy Ruston wrote: > > Hi Vladik > > > core/modules/editor/engines/simple.js contains unimplemented > createTextOperation and executeTextOperation functions: > > These functions aren’t implemented for the simple editor because the > toolbar button mechanism doesn’t work properly without the iframe editor. > The reason for the iframe editor is that with a simple textarea, clicking > on a toolbar button loses the selection. Having said that, it sounds like > you’ve got it working somehow? >
Yes, I basically copy-pasted the implementation from framed.js with some minor editing (replaced iframe document with global document) and it worked out of the box. All the toolbar buttons work correctly. Tested in Firefox and Chromium. > > Best wishes > > Jeremy > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/61e537f3-4d36-4575-a5ec-bd258e020c8a%40googlegroups.com.
