Umbrella Issue: Handling Paste/Import of Unrecognized or Undesired Nodes #1224
Labels
all-platforms-bug
copy+paste
Relates to Lexical Copy/Paste
enhancement
Improvement over existing feature
Please consider this an umbrella issue for a larger problem that needs to be broken up into more manageable pieces. This problem spans copy and paste, WEB and mobile, and import and export to other non-Lexical formats like HTML.
Problem Use Case 1: I want to copy from one Lexical Editor instance and paste to another. The the other instance is not able to recognize some of the Nodes, likely because it has not registered those nodes.
Problem Use Case 2: I want to copy text containing lists and paste into an embedded image's caption. The destination should not support lists, and should mainly support plain text. However, bold, underline (BIUS) and links should come through. E.g. no lists, yes BIUS, yes links.
Problem Use Case 3: I want to copy a table from Quip and paste into Lexical. Well, some Lexical surfaces support tables and other's do not. The ones that do not attempt to convert the HTML to a Table node, but this table node is not registered.
Problem Use Case 4: I'm on iOS and I want to load a document that contains Nodes that are not registered as the client, because the client is older than the latest on WEB and thus the client is importing something that is newer. This is termed "forwards compatibility."
Problem Use Case 5: I'm on any Lexical client and I want to load some older content that uses Nodes that have been deprecated and possibly replaced. I want to upgrade. This is termed "backwards compatibility".
All uses cases are variations of Import and Export.
Requirements:
The text was updated successfully, but these errors were encountered: