This article explains a known limitation of the Salesforce Lightning Input Rich Text field (lightning-input-rich-text component) where tables pasted into the field cannot be edited once inserted. This behavior is working as designed.
When a table is pasted into a Salesforce Lightning Input Rich Text field, the system generates HTML markup that uses the ql-table-blob class, including <table>, <colgroup>, <tbody>, <tr>, and <td> tags with inline style attributes. Because these HTML tags are not supported for editing within the inputRichText component, any attempt to modify or delete characters from within the pasted table causes the entire table to be removed.
<table class="ql-table-blob" border="0" style="width: 96pt;" width="128">
<colgroup>
<col style="width: 48pt;" width="64">
</colgroup>
<tbody>
<tr style="height: 14.4pt;" height="19">
<td style="height: 14.4pt; width: 48pt;" width="64" height="19" class="xl65" rowspan="1" colspan="1">id</td>
<td style="width: 48pt;" width="64" class="xl65" rowspan="1" colspan="1">Name</td>
</tr>
<tr style="height: 14.4pt;" height="19">
<td style="height: 14.4pt;" height="19" class="xl65" rowspan="1" colspan="1" align="right">750141</td>
<td style="" class="xl65" rowspan="1" colspan="1">Lohit.B</td>
</tr>
</tbody>
</table>
This table behavior can be triggered by several methods: an email template, a custom component or code, or simply by pasting a copied table from an external source such as a spreadsheet.
This behavior is working as designed and is a documented limitation of the Salesforce Lightning inputRichText component. The component supports pasting tables from external sources, but does not support in-editor table creation or editing.
Per the lightning-input-rich-text documentation: "The table and header formats support pasted content only."
This means pasting or populating a table is allowed, but editing the table after it has been inserted is not supported.
If you need to modify a table that has been pasted into the Input Rich Text field, remove the entire table first, update the source table in its original format (for example, in a spreadsheet), and then paste the revised version into the field.
000380691

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.