function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Neil KimNeil Kim 

Input UI for inserting table into field

Hi!
I wonder is there any way to do it with declaritive or programmatic way, whatever.

We want to create Input field with Salesforce Paltform UI or VF.
This field must have features below.
1. Text can be inserted.
2. Image can be inserted.
3. Table can be inserted.
1-3 can be inserted in the 1 field at the same time.

Is there any way? Of course, I know that Rich Text Field can do 1, 2. However we need 3, Table.

Please help!
 
Khan AnasKhan Anas (Salesforce Developers) 
Hi Neil,

I trust you are doing very well.

You can use the Rich Text Area field for a table also. However, it is not possible to copy/paste Excel tables into Rich Text Fields (RTF) and maintain colors and borders. Content can still be copied but colors and borders are stripped out.
You can use IE or Firefox, or copy a table from Word (not excel).

It is a known issue, you can refer to below link.
https://success.salesforce.com/issues_view?id=a1p30000000eYP8AAM


I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.

Thanks and Regards,
Khan Anas
Neil KimNeil Kim
Hi @Khan. Thank you for help.

I checked what you suggested. Copy from Word and then paste to Rich Text Field.
It works. Thank you.

However, I'd like to have button in field UI inserting Table and select how many rows and cols..
Is there any other idea for this?