https://github.com/bwmilby/lc-misc/blob/master/ClipboardHelper/clipboardhelper.livecodescript
Check out this handler. I can answer questions about it this evening if needed. On Jun 23, 2018, 9:18 AM -0500, Paul Dupuis via use-livecode <use-livecode@lists.runrev.com>, wrote: > Using LC9, I want to add a "paste without formatting" (as seen in may > browser edit menus) command and I can't see to figure out how to do it. > > My most recent attempt of many still pastes formatted text (with > underlining, bolding, italics, fonts, colors, etc. in place) > > *on*pasteKey *-- remove formatting* > *if* theclipboardData["text"] isnotempty*then* > *set*thetextofthetemplateFieldtoclipboardData["text"] > *set*theclipboardDatatoempty > *set*theclipboardData["text"] totheplaintextofthetemplateField > *end* *if* > *paste* > *end*pasteKey > > Maybe I just haven't had enough Caffeine yet? > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode