Add public API controller method copyCurrentClueSolution(), DOM ident copy-clue-solution and published event clueSolutionCopied.
An example is added to the demo as the clue Copy button.
The current clue solution is copied to the clipboard - the desired clue must be highlighted in the crossword grid.
The logic for the action requires that the solver's answer be correct or the clue revealed before the solution is copied to the clipboard.
Issue #53 - Copy a clue solution to the clipboard
Add public API controller method
copyCurrentClueSolution()
, DOM identcopy-clue-solution
and published eventclueSolutionCopied
. An example is added to the demo as the clue Copy button.The current clue solution is copied to the clipboard - the desired clue must be highlighted in the crossword grid. The logic for the action requires that the solver's answer be correct or the clue revealed before the solution is copied to the clipboard.