Cannot undo a step of paste when editing posts in forums
您好。我经常使用Firefox访问论坛。这些论坛提供fckeditor之类的超文本编辑器。在论坛中,用户可以复制其他网页上的文本、超链接以及图片,并粘贴到自己的帖子中。 今天,我输入了一大段文字,然后不慎从其他网页复制了一个链接到自己的帖子中,然后按下Ctrl+Z按钮,希望撤销粘贴超链接这一步操作。然而Firefox将我粘贴的超链接,以及我输入的文字一起抹去了。 Hello. I often use Firefox to access the forums. These forums provide hypertext editors such as fckeditor, and users can copy text, hyperlinks, and images from other web pages and paste them into their posts. Today, I entered a large paragraph of text, then accidentally copied a link from my other page to my post, and fainally pressed the Ctrl+Z button, hoping to undo the paste hyperlink. However, Firefox erased the entire paragraph of text I entered , together with the hyperlink I posted into.
Chosen solution
You normally select (highlight) part of the page and press the delete key to remove accidentally entered text. With Ctrl+Z you can't be sure what happens, especially if you only have typed text and haven't used the cursor keys or other commands because is that case all text you entered is considered as the last action and Undo will remove it all. You can see this happen on this forum as well if you type a long line and then press Ctrl+Z. You can use Ctrl+Shift+Z (Redo) to reverse the undo and get the text back.
Read this answer in context 👍 0All Replies (4)
Firefox doesn't do such actions and since it wasn't posted before it was delete there is no way to recover what was written. This was a user action prior to being posted so it was like a blank post.
WestEnd said
Firefox doesn't do such actions and since it wasn't posted before it was delete there is no way to recover what was written. This was a user action prior to being posted so it was like a blank post.
A form is a part of a web page, and it often contains a text area. I tried to visit a website with a form via Chrome, typed a piece of characters in a text area, and paste another piece of sentences after my characters. After that, when I pressed Ctrl+Z, Chrome erased the part I pasted but not characters I typed in. I think most text editor (Word, Notepad and so on)can perform quite well in this situation.
Chosen Solution
You normally select (highlight) part of the page and press the delete key to remove accidentally entered text. With Ctrl+Z you can't be sure what happens, especially if you only have typed text and haven't used the cursor keys or other commands because is that case all text you entered is considered as the last action and Undo will remove it all. You can see this happen on this forum as well if you type a long line and then press Ctrl+Z. You can use Ctrl+Shift+Z (Redo) to reverse the undo and get the text back.
I found this issue is caused by html editor. Today I tried again on the demo page of another html editor, and this issue did not take place.