Opened 14 years ago

Closed 13 years ago

#6250 closed Bug (duplicate)

Justify text inserts P tag only

Reported by: Scorpy Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4
Keywords: HasPatch Cc:

Description

If user tries to align text to center and if text in selection is not wrapped in any tag, selected text will be wrapped with P tag only, regardless of configured text mode.

To correct this you should change justify/plugin.js:

old line 98: while ( ( block = iterator.getNextParagraph() ) )

to:

new line 98 :while ( ( block = iterator.getNextParagraph(enterMode==1?'p':'div') ) )

Change History (2)

comment:1 Changed 14 years ago by Frederico Caldeira Knabben

Keywords: HasPatch added

comment:2 Changed 13 years ago by Garry Yao

Resolution: duplicate
Status: newclosed

DUP of #6604.

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