• 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
    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>

    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 feel that this feature should be included out of the box, feel free to visit IBM’s request for enhancement site.



    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.


    Stephen P.

    • This reply was modified 3 years, 6 months ago by SPARK Support.
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