[Building Sakai] FW: Melete : Editor adds an extra line

Adam Marshall adam.marshall at it.ox.ac.uk
Mon Dec 9 07:56:40 PST 2013


We set autoParagraph=false a few months ago and have had no side effects (except of course we no longer get blank lines inserted!).

adam

From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Matthew Jones
Sent: 09 December 2013 15:37
To: Arlow, Magdaleen
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] FW: Melete : Editor adds an extra line

I believe this is might be more of a bug in CKEditor than any specific Sakai tool.

It looks like there was an option autoParagraph=false added to 3.6.2 CKEditor, which is in Sakai 2.9.1 (http://dev.ckeditor.com/ticket/6654). Maybe that will fix it? It seems like it's just putting some blank space in a paragraph, though afterward it might just have the blank space without and additional markup.

On Mon, Dec 9, 2013 at 10:16 AM, Arlow, Magdaleen <Arlowm at unisa.ac.za<mailto:Arlowm at unisa.ac.za>> wrote:
This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details.
________________________________

We sent this message to Etudes for specific Melete advice, but wanted to ask the community whether other users experienced similar problems with Melete after the 2.9 upgrades.

Thanks

Magdaleen Arlow
Deputy-Director : Academic Systems Development
ICT Department

' +27 (0) 12 429 3102<tel:%2B27%20%280%29%2012%20429%203102>
Cell + 27 (0) 82 783 9163<tel:%2B%2027%20%280%29%2082%20783%209163>
Email : arlowm at unisa.ac.za<mailto:arlowm at unisa.ac.za>


From: Mogaswa T
Sent: 09 December 2013 01:48 PM
To: dev at etudes.org<mailto:dev at etudes.org>
Subject: Melete : Editor adds an extra line

Dear All,

I am using Sakai 2.9.1, Melete 2.9.1 and the CK Editor that comes with Sakai 2.9.1.

When using the CK Editor to enter "Textual" content, after clicking Save the editor adds an extra line at the beginning of the document. In fact it adds the following html code <p><br />&nbsp;</p>.

The same html code is added every time a SAVE or DONE button is pressed. This only happens on Melete and not any other sakai tools.

I initially thought that it relates to the CK Editor options - in particular the following
breakBeforeOpen : true,
            breakAfterOpen : false,
            breakBeforeClose : false,
            breakAfterClose : true

After toggling the above CK Editor ptions, I am still having  the same problem.

Is the a place in melete that sets the behaviour of the CK Editor?

The closest I could get to a solution is this problem: http://collab.sakaiproject.org/pipermail/sakai-dev/2009-May/001330.html

"Melete uses sakai:inputRichText tag to render FCK editor while most of
the other sakai tools use sakai:richTextArea tag. When we were working
on this issue it was recommended to use sakai:inputRichText tag and the
other tag was being deprecated but it never did and is actually a better
tag."

Could the sakai:inputRichText be responsible for this odd behaviour?

Has anyone ever seen this before and what was the solution to it?

Regards

Thabo


_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20131209/a03725c4/attachment.html 


More information about the sakai-dev mailing list