• Fabrizio Lamari
    November 1, 2019 at 1:54 am #5586

    <p dir=”auto”>Hi everybody,</p>
    <p dir=”auto”>We’re using the Text Editor Control on a Coach View in IBM BAW 19.0.0.1.
    When we try to copy and paste an image in the Text Editor nothing happens and when we choose the Action “Paste” under “Edit” menu the following error message appears:</p>

    <p dir=”auto”>”Your browser does not support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.”</p>

    <p dir=”auto”>Can you please tell us if this functionality of copy and pasting an image should work or not in your Text Editor control?</p>
    <p dir=”auto”>Thank you very much already in advance for your support.</p>
    <p dir=”auto”>Kind Regards,</p>
    <p dir=”auto”>Fabrizio Lamari</p>

    Attachments:
    You must be logged in to view attached files.
    SPARK Support
    November 1, 2019 at 12:57 pm #5588

    Hi Fabrizio,

    The Text Editor control in the BPM UI Toolkit is based on the TinyMCE Editor library.  If you refer to their reference information, there is an option to allow paste_data_images in the initialization. However, if you open the Text Editor JavaScript file in the UI Toolkit, you will find that this is not being set in the initialization of the the control.  If you fee that this feature should be included out of the box, feel free to visit IBM’s request for enhancement site.

    https://www.tiny.cloud/docs/plugins/paste/

    https://www.ibm.com/developerworks/rfe/

    You could extend the control and modify the JavaScript file to initialize this option.  However, I am not sure how BAW would handle the binding.  The best practice is probably to upload a Web File to the application and inset an image in the Text Editor using the provided image source control.  Or, provide the user with a File Uploader control that will return a URL that can be used to the same ends.

    Regards,

    Stephen P.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search