Opened 15 years ago
Closed 15 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 15 years ago by
| Keywords: | HasPatch added |
|---|
comment:2 Changed 15 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |

DUP of #6604.