You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Yehya Mohamad <ye...@fit.fraunhofer.de> on 2006/04/01 17:16:23 UTC

Re: FCKEditor validation

Hi Tim,

This made my weekend :-) . I used FredSaveAction.java class in FCKeditor 
and the save work now much better. thank you

Regards

Yehya

Tim Hannigan wrote:
> Hi Yehya,
>
> I've actually just updated the FredSaveAction.java class.
> As a result, the header of the produced file will contain
> "[<!ENTITY nbsp \"&#160;\">] >\n"
>
> Because TinyMCE is outputting &nbsp; character, this effectively 
> allows works around that (the XSLT processor doesn't use &nbsp; but 
> rather &#160; ).
> In my next update to the implementation, I'll be configuring TinyMCE 
> to produce straight &#160; instead of &nbsp;
>
> I forgot to include this on the wiki, but I've updated both the wiki 
> and the attachment this morning.
>
>
> -Tim
>
>
>
>
> On 31-Mar-06, at 2:29 AM, Yehya Mohamad wrote:
>
>> Hi Tim,
>>
>> I tried to work around the problem of saving of documents with  
>> &nbsp;  inside using FRED. Could  you please tell  more about your 
>> temporary solution and which Javascript files you have changed in 
>> order to get it  working.
>>
>>
>> Regards
>>
>> Yehya
>>
>> Tim Hannigan wrote:
>>> Bob Harner- your work on FCKEditor (Fred) integration is nothing 
>>> short of amazing.
>>> In my mind, this is a "make or break" for rolling out our pilot 
>>> (Queen's University).
>>>
>>> I'm working on attempting to get the validation working - do you 
>>> have any clues as where to look?
>>>
>>> As a temporary solution, I've gone into the Javascript paste code in 
>>> FRED and added a text replace for common unsupported entities such 
>>> as &nbsp;
>>> This is a hacky solution because I'd want to upgrade to future FRED 
>>> versions by simply dropping it in the FCKEditor directory, but it's 
>>> working somewhat well for now.
>>>
>>> I'm fairly new to Lenya, and I'm interesting to learn more about the 
>>> underpinnings. In particular, I'd be interested in learning how 
>>> FredSaveAction.java would validate against the schema. Is there a 
>>> way to check for validation and send back to the editor (FRED) with 
>>> a nice error msg?
>>>
>>> Thanks,
>>>
>>> -Tim
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org