The context menu that pops up (and looks like a toolbar :) ) uses QtQuick TextField's canPaste to see whether is something in clipboard to paste. If the MIME type is not suitable to paste, it will return false. The code doing the job is here http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/modules/Ubuntu/Components/TextInputPopover.qml#L51
I repeat, the same code works on desktop.
The context menu that pops up (and looks like a toolbar :) ) uses QtQuick TextField's canPaste to see whether is something in clipboard to paste. If the MIME type is not suitable to paste, it will return false. The code doing the job is here http:// bazaar. launchpad. net/~ubuntu- sdk-team/ ubuntu- ui-toolkit/ trunk/view/ head:/modules/ Ubuntu/ Components/ TextInputPopove r.qml#L51
I repeat, the same code works on desktop.