Opened 14 years ago

Closed 14 years ago

#5679 closed Bug (invalid)

Style Formatting

Reported by: Gokul Owned by: Gokul
Priority: Normal Milestone:
Component: Core : Styles Version: FCKeditor 2.6.6
Keywords: Cc:

Description

Hi,

I'm using fck editor for my project with php and flash. Where I need to format the default styles to compatible with legacy html as it would only supported in flash.

for example : I'm able to change the font styles from

<font style="font-size: 14px;"> text </font> to

<font size="14"> text </font>

by making a custom corestyles like

FCKConfig.CoreStyles.Size =

{

Element : 'font',

Attributes : { 'size' : '#("Size")' } } ;

But When I align text to center the format I'm getting in source code is like :

<p style="text-align: center;">

where I want it to change to

<p align="center">

I couldn't find a way to make the changes like I did for the other font styles. some body Please help me with a solution.

Change History (2)

comment:1 Changed 14 years ago by Gokul

Milestone: CKEditor 3.3
Owner: set to Gokul
Status: newassigned

comment:2 Changed 14 years ago by Frederico Caldeira Knabben

Milestone: CKEditor 3.3
Priority: HighNormal
Resolution: invalid
Status: assignedclosed

Please use our forums for discussions.

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