Maintain text formatting when copying and pasting from edit mode (rich text)
- XD 0.5.4.51
- Inside a text block select text with either a multiple fonts or a font that is different from the target text block. Copy your selection. Next go into a different text block that has the different font selection than what you copied. Paste.
- It should retain the font selection from before you copied.
- It changes all the pasted font to the font selection of the target text block.
Brice Tuttle commented
We've integrated "paste appearance" for object and text styles when it applies to a single item... yay!... but what about when a single text box contains multiple styles?
Example: I have a paragraph that contains regular text, and bold blue links. Attempting to cut/paste the link to a new place in the paragraph makes it lose it's styling, even if I use the "paste appearance" command. Frustrating.
Request: Can we make "paste appearance" work for separate spans of text within a single block?
Pooya K commented
I want to be able to copy a list of selected texts as a list from XD to clipboard or other apps.
I would like to have the ability to copy text and its formatting and paste it within another text box. Is there are a reason why this basic function is not available? It's so difficult making the same edits to multiple size text boxes.
Text formatting – including color – should be preserved, and not be copied as plain text (unless the user pastes it by pressing Shift + Opt + Cmd + V).
Often one copies a block of text with different formatting for headlines and body text, some of it black and some words in a different color. But when you paste it to another text box, all the formatting goes away, which is extremely annoying in the long run.
Need this and a lot more text options. Including: let individually highlighted bodies of copy be edited individually from whole text box.
David Bishop commented
Naim Sheriff commented
I'd love to see the shortcut cmd+opt+shift+V used to paste text and preserve the format that it was copied from.
Risa Yuguchi commented
When I create UI design on XD and write html on Dreamweaver or other text editors, I need to repeat the flow of steps so many times.
the steps :
1.double click text object for editing
2.select all characters
3. copy them
4. go to text editor and paste.
It is very simple steps but It is hard to repeat them.
If I can get plain/rich texts on clipboard as soon as I select text objects and copy on XD, My workflow will be better, and UI designers who don't write html themselves handoff for developer easier.
In the image, if I copied that text (one line bold, one line regular) and pasted it back in further down it would convert all the text to the regular weight and not rmember the bold. If it is done with three font styles, it is the same, converting them to one, as before.
Mitchell Fishman commented
Having this exact issue...I am copying/cutting text (a bullet caret character from fontawesome) and trying to paste it in front of my list items in a text box and the formating and font is lost. I am left with a question mark character and I have to manually select and reset the font back to fontawesome as well as change the color.
The suggestion below to copy and paste the text object as a whole doesn't work because I need to be able to paste in text that has been formatted differently from the target text box. I will look on the feature request to see if this has already been requested.
Thanks a lot for the feedback!
At the moment, if you copy text in editing mode, it is considered to be plain text, without any formatting and pasting it into another text box will be performed with applying the destination style.
To preserve text attributes, you could copy and paste the text object as a whole.
If you think that we should change the current behavior, please add a feature request in UserVoice. This way, we will be able to track and prioritize it.