Opened 18 years ago
Closed 17 years ago
#378 closed Bug (worksforme)
Applying style moves selection
Reported by: | Paul Moers | Owned by: | Hallvord R. M. Steen (Opera Software) |
---|---|---|---|
Priority: | Normal | Milestone: | Opera Compatibility |
Component: | Core : Styles | Version: | FCKeditor 2.4.2 |
Keywords: | Cc: |
Description
Applying style to a selection moves the selection selectionLength number of character forward or to just before the next opening tag of there is one within selectionLength number of character.
Change History (6)
comment:1 Changed 18 years ago by
Keywords: | style selection tag Opera removed |
---|---|
Summary: | applying style moves selection → Applying style moves selection |
comment:2 Changed 18 years ago by
I tried to describe the problem as elegant as possible, guess I failed :)
The length of your selection determines the number of character that this selection will be moved when you apply a style to it:
- Selecting 'This i' (6 characters) will move the selection 6 characters forward;
- Selecting 'Yo' (2 characters) moves it 2 characters forward;
An opening tag will halt the shifting:
- Selecting 'You are us' (10 chars) will move it to just before the FCKeditor link, i.e. just before the opening tag.
comment:5 Changed 17 years ago by
Owner: | set to Hallvord R. M. Steen (Opera Software) |
---|---|
Status: | new → assigned |
comment:6 Changed 17 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Works in build 9488
I'm not sure that is the same thing you have said Paul (the description was a little bit confusing :)). I have the following steps to reproduce both the described behaviors:
and