Opened 11 years ago

Closed 11 years ago

#9711 closed Bug (expired)

[enter BR] plain space is not trimmed on copy and paste

Reported by: Vladimri S. Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version:
Keywords: Cc:

Description (last modified by Jakub Ś)

OS: Windows 7 Browser: Firefox 16.02

  1. Ctrl+C/Ctrl+V in WYSIWYG mode of a single plain space character pastes a line break insead of single plain space character when paste is done in the middle or at the beginning of any text within a container.

To reproduce:

  • In enterMode set to BR, select a single plain space character in WYSIWYG mode.
  • Copy it using Ctrl+C.
  • Paste it anywhere in the beginning of any text contatiner or in the middle of text using Ctrl+V.
  • <br/> instead of plain space is pasted.

NOTE: This does not happen in other enterModes - space is trimmed which is by design.


  1. In all enterModes, Ctrl+C and paste through context menu or 'Paste' button of a single plain space character does nothing.

To reproduce:

  • Select a single plain space character in WYSIWYG.
  • Copy it using Ctrl+C.
  • Paste it anywhere using context menu or "Paste" button.
  • A secure paste dialog box appears.
  • Nor pressing Ctrl+V, neither selecting "Paste" in the context menu does nothing - you won't be able to paste a previously copied (?) space character here.

Note: "Paste Only Text" works OK.

Change History (4)

comment:1 Changed 11 years ago by Jakub Ś

Description: modified (diff)
Keywords: copy paste plain space removed
Summary: Several issues concerning copy and paste of plain space characters[enter BR] plain space is not trimmed on copy and paste

NOTE: Current version of FF is 17.

First issue - I was able to reproduce it once or twice but not on regular basis.
What is the exact TC here?
Steps are probably the same but what configuration options have you used?
From which part of the text are you copying this white space?
Finally are you able to reproduce this issue in FF17?

Second issue is by design. Whenever you paste style content, white spaces get trimmed. Paste as plain text is not styled so there is no need to trim spaces there.

Last edited 11 years ago by Jakub Ś (previous) (diff)

comment:3 Changed 11 years ago by Jakub Ś

Description: modified (diff)

comment:4 Changed 11 years ago by Jakub Ś

Status: newpending
Version: 3.6.5

comment:5 Changed 11 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy