SharinPix Copy To Clipboard

The SharinPix Copy To Clipboard component permits the user to select and copy images from the SharinPix Album component and paste the same images in a field of type Rich Text Area.

circle-info

Information:

This feature is only available on Lightning. It can be used on:

  • Page Builder

  • Desktop

  • In your own Lightning Component development

Getting Started

circle-exclamation

To use the SharinPix Copy To Clipboard component, you simply need to drag and drop the component from the Lightning App Builder onto your page layout.

Lightning Component Parameters

  • Button label: Used to specify the copy button's label. The default value is Copy to Clipboard.

  • Image URL field: Used to specify the image size by selecting an Image URL field from the dropdown menu. The default value is sharinpix__ImageURLFull__c which will display the image in full size.

  • Image Caption Text: Used to specify the caption text to be displayed alongside the image. The default value is sharinpix__Title__c which refers to the image's title.

  • Number of Columns: Used to specify the maximum number of images to be displayed per row. The values available range from 1 to 10 rows.

  • Prefix Images with Rich Text Area: Used to specify the field for which the value/content will be added before all selected images. The default value is None.

  • Suffix Images with Rich Text Area: Used to specify the field for which the value/content will be added after all selected images. The default value is None.

  • Open Preview in New Tab: Used to enable/disable option to open the preview in a new tab. This parameter should be enabled if your browser blocks certain modal contents..

circle-exclamation

Demo

Select images from the SharinPix Album component:

Click on the button Copy to Clipboard. This will open a modal previewing the selected images as shown below:

Click on the button Copy to Clipboard inside the modal to copy the images. Once done, you can paste them inside a field of type Rich Text Area :

circle-exclamation

Last updated

Was this helpful?