Opened 12 years ago

Last modified 10 years ago

#8695 confirmed Bug

Reset fonts

Reported by: Elena Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Firefox, Webkit Cc:

Description

  1. All browsers
  2. Steps to reproduce:
  • choose font style ( "bold" for example)
  • type something
  • then press Enter twice
  • then move on the previous line, using mouse

Result: Bold font was reset Expected result: If any font style was chosen, it keeps still while typing. Screens are attached

Attachments (3)

1.png (49.4 KB) - added by Elena 12 years ago.
Choosing style and typing
2.png (49.5 KB) - added by Elena 12 years ago.
Twice enter
3.png (49.6 KB) - added by Elena 12 years ago.
Reset fonts

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by Elena

Attachment: 1.png added

Choosing style and typing

Changed 12 years ago by Elena

Attachment: 2.png added

Twice enter

Changed 12 years ago by Elena

Attachment: 3.png added

Reset fonts

comment:1 Changed 12 years ago by Jakub Ś

Keywords: Firefox Webkit added
Status: newconfirmed
Version: 3.0

Reproducible in Firefox from CKEditor 3.0 and Webkit from CKEditor 3.6

comment:2 Changed 10 years ago by Todd Brown

This issue is still reproducible on the demo page, using version 4.3.3. Bold, italics and strikethrough will persist between paragraphs, but style and formatting options do not.

The issue can be recreated in Firefox 27.0.1 and Chrome 33.0.1750.146 m.

comment:3 Changed 10 years ago by Jakub Ś

The problem is that on enter cursor is inside strong tags but when you move to the next line and then come back, there is no way to put cursor again between these inline tags.

This is because HTML in e.g. Firefox looks like this:

<p><strong></strong><br type="_moz"></p>

and it should be something like this (BR should be our custom one and not FF native):

<p><strong><br type="_moz"></strong></p>

If BR is inside of strong tags then there wouldn't be with continuing bold whenever you want.

comment:4 Changed 10 years ago by Jakub Ś

I think these three are kind of strongly related and some approach has to be prepared taking all these tickets into consideration: #8659, #10872, #8958.

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