Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues
Author Message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1772

PostPosted: Wed Feb 25, 2015 5:26 am Reply with quote

Since firefox 36 the Source view will not more wrap the text inside the textareas of the CKeditor (nukeWYSIWYG 3.6.3.x). You can solve the issue with a little change of the editor.css files of the skins.

You can find the files here:

includes/ckeditor/skins/kama/editor.css (default skin)
includes/ckeditor/skins/office2003/editor.css
includes/ckeditor/skins/v2/editor.css



find:

css Code:
white-space:pre;

change to:

css Code:
white-space:pre-wrap;



Wink

_________________
Github: RavenNuke 
View user's profile Send private message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1122

PostPosted: Wed Feb 25, 2015 8:19 am Reply with quote

Thanks a lot! I had to make the modification twice. 2x3=6 times Wink
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6433

PostPosted: Wed Feb 25, 2015 6:06 pm Reply with quote

Thanks, neralex. Have you tried that with other browsers?

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
neralex







PostPosted: Wed Feb 25, 2015 7:21 pm Reply with quote

In Chrome, Opera and IE11 it makes no difference and the wrap works also with white-space:pre; - but normally this is not correct because white-space:pre; shouldn't wrap:
[ Only registered users can see links on this board! Get registered or login! ]

Looks like this "auto-wrap" for white-space:pre; is a old fallback and in Firefox 36 now it works correctly.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©