clipboardData support
Original Reporter info from Mantis: yus
-
Reporter name: Yuri Serebrennikov
Original Reporter info from Mantis: yus
- Reporter name: Yuri Serebrennikov
Description:
Adding support for working with the clipboard.
i don't know how add
onpaste, oncopy, oncut events
i added clipBoard property in web.pas
for create next code
------
window.addEventListener('paste', @DoPasteEvent);
....
function TMyClass.DoPasteEvent(aEvent: TJSEvent): boolean;
var
Text: string;
begin
Text := aEvent.clipboardData.getData('text/plain');
Writeln('Clipboard = ', Text);
Result := True;
end;
Mantis conversion info:
- Mantis ID: 38726
- Build: 64822
- Fixed in version: trunk
- Fixed in revision: 1140