Opened 12 years ago

Closed 12 years ago

#8851 closed Bug (invalid)

Changing Paragraph Format after Font Size

Reported by: jgallred Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc:


Changing the paragraph format of a portion of text you have just altered the font size does not apply as expected.

  1. Put plain text into ckeditor.
  2. Ctrl-A and set the font size to some change
  3. Highlight a portion of the text
  4. Change the paragraph format to something else like Heading 1
  5. The text retains the previous font size rather than conforming to the paragraph format

Change History (2)

comment:1 Changed 12 years ago by Garry Yao

Version: 3.6.3 (SVN - trunk)

comment:2 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

After step 2:

	<span style="font-size:8px;">test test test</span></p>

After step 4:

	<span style="font-size:8px;">test test test</span></h1>

All looks fine.

The text retains the previous font size

I did not get that result in any browser.

rather than conforming to the paragraph format

  1. By this is not paragraph format. Font size is applied with spans which are kept when changing p to h1
  2. Whether you change part of text or whole when applying block-level format whole block will be changed.
  3. If you had font-size set on paragraph it would be kept when changing format to h1.

I'm closing this ticket as invalid as I didn't find any problems and TC was clear. If I have missed something and CKEditor in fact "retains the previous font size" please provide some other scenario to reproduce - I will reopen this bug then.

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