Opened 6 years ago

Last modified 2 years ago

#7819 confirmed Bug

Wrong Font size using BBCode plugin

Reported by: krst Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6
Keywords: Cc:



CKE 3.6, Opera 11, IE6/7, Chrome


  • Load BBCode sample
  • clear content
  • type "default"
  • change font size to 200, type 200
  • change font size to 150, type 150 See that newly typed text is bigger, than previous, and element path contains two size
  • repeat for other font sizes


the size tags, are not closed after changing font size to other values:


Attached screen



Attachments (1)

zrzut_ekranu-10.png (19.2 KB) - added by krst 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by krst

comment:1 Changed 6 years ago by wwalc

  • Status changed from new to confirmed

It happens because percent values are used to set the font size (by design).

The following code:

[size=200]200 [size=150]200+150[/size] 200[/size]

is translated into:

<span style="font-size: 200%;">200 <span style="font-size: 150%;">200+150</span> 200</span>

It looks like certains systems do not support nested [size] tags so it looks like something that could be improved in the future.

comment:2 Changed 6 years ago by garry.yao

This's something definitely need a fix, while it currently depends on #7498.

comment:3 Changed 2 years ago by j.swiderski

#10591 might be either related or a result of this ticket.

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy