- My goal: Allow a copy paste from for example SharePoint text fields that allow formatting into Retool forms that account for the pasted data handling, numbers, bullets, indenting, tables
- Issue: seems to mess up the format, continue the numbering vs. when it starts with a 2 and then has a indented number 1 under it or indenting it’s outdenting, removing the numbers or making them all 1 or continuing the numbers the second time I tried it and not accounting for the sub bullet numbering.
- Steps I've taken to troubleshoot: Tried multiple ways to address it. A 3rd party tool was recommended but I’d prefer to not use a 3rd party but something more native to the application.
- Additional info: (Cloud or Self-hosted, Screenshots) cloud
Summary
On Retool Cloud, pasting richly formatted content (nested numbered lists, bullets, indentation, and tables) from sources like SharePoint into the native Rich Text Editor component mangles the formatting—e.g., renumbering lists, flattening all items to '1', or outdenting sub-items—and a native (non-third-party) solution is preferred.
AI Response
This reflects a known limitation of the native Rich Text Editor: when content is pasted from external rich-text sources, the editor normalizes the markup and frequently drops or rewrites list numbering, indentation, and invisible formatting, and it does not reliably author or render tables. There isn't a native setting that fully preserves complex pasted structure today. As practical native workarounds, paste as plain text and re-apply list/indent formatting using the editor's own toolbar, or store/edit the content as HTML and bind it to the component so the structure is controlled explicitly rather than inferred from the paste. For table-heavy content specifically, the native editor won't maintain it faithfully, so keeping that content as HTML (or a separate component) is the most reliable approach.
Sources
Request for a switch-to-markdown viewer/editor in Rich Text Editor Component
Corroborates that copy/pasting content from other sources into the Rich Text Editor drops invisible formatting and produces undesired styling, and discusses working with the underlying HTML/markdown instead.
[Rich Text Editor] Table management, colouring
Confirms the native Rich Text Editor cannot reliably create or render tables even when the underlying HTML includes table tags, which is directly relevant to the pasted-table portion of the goal.
The Community Team is testing out a new automation. Let us know if it's helpful (or not) by leaving a
,
, or
. Or by marking this post as the "Solution"! Let us know if you have any feedback here. ![]()