Page MenuHomePhabricator

After applying justification settings from fckeditor the changes does not save
Closed, InvalidPublic

Description

Author: abel406

Description:
I enabled ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'] options on fckeditor_config.js.
When I try to edit a page and select justify from fckeditor tool_bar, it applies the change correctly, I checked with firebug and it puts a <p style="text-align: justify ;"> tag around all the text i selected for justifying </p>, like it should be, but when i hit Preview button, it shows me the paragraph without justification.

When I try to reproduce the error, I click Wikitext instead and it appears that when mediawiki tries to parse the html code, it doesn't put a tag to show the paragraph justified and of course, when I click Wikitext again, the text appear without justification. That is why I guess that the problem is on mediawiki and not on fckeditor. Somehow mediawiki text does not have a tag for text with styles.

Maybe i am wrong, please, some buddy help me !!!


Version: unspecified
Severity: major
OS: Windows Vista
Platform: PC

Details

Reference
bz22436

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:54 PM
bzimport set Reference to bz22436.
bzimport added a subscriber: Unknown Object (MLST).

maurice.clerc wrote:

Same problem under Linux (Ubuntu). I tried the following hack:
http://mediawiki.fckeditor.net/index.php/Troubleshooting#Text_Align_Fix_-_Justify_Issue
but it doesn't work. Maybe I did it wrong.

Copied from bug 30075:

Per this upstream bug http://dev.ckeditor.com/ticket/5602

"FCKeditor and MediaWiki are no longer supported. Closing the ticked as invalid."