Not able to use the clipboard with HTML5 deployment

Sannyasin Brahmanathaswami brahma at hindu.org
Sun Feb 21 22:10:53 EST 2016


Until that is working, why not just set a local (or possibly you will need a global)  variable and as the selections are made, append to the global variable, then when ready they user clicks a button and the global variable containing the data is inserted into the comments?  You can emulate a "copy" by just save the selectedText... and passing this to your global...

Why is the clipboard mission critical to the architecture? Especially if the series of statements can each be contained in a single line, then you can really do this easily with a locked field and clicks on the lines... I can think of about 8 different ways to accomplish this without the clipboard (depends on how the assessment rubric data is formated/presented, of course)

BR


On February 21, 2016 at 3:05:03 PM, Terry Judd (terry.judd at unimelb.edu.au<mailto:terry.judd at unimelb.edu.au>) wrote:

I’m trying to create a relatively simple HTML5 ‘applet' that allows the user to select from a series of statements (an assessment rubric) to generate a basic feedback report that they can paste into an existing comments box within one of the bits of our learning management system. Seemed like a relatively straightforward test for LC’s new HTML5 export feature except that despite what the dictionary says setting the clipboardData doesn’t work. This seems to be confirmed by a search of the quality control centre (unresolved bug 16251 from October last year). Does anyone have any information on if and when clipboard support will be added? I’m pretty much stuck without it.

Regards,

Terry…


More information about the use-livecode mailing list