Visual editor in CMS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Visual editor in CMS

Erwan de FERRIERES-3
Hi all,

while looking at the visual editor, I found that we cannot resize the
textarea height due to a test in the
framework/images/webapp/images/htmledit/whizzywig.js and which says :
  if (!o(idTa).rows < 5) o(idTa).rows='15';//IE won't use % from style

If we remove the exclamation mark, there is no more problems and we can
resize it as much as we want.

I also saw that there was a new version of the editor, which corrects
some errors and use now only one image instead of many of them to build
the toolbar. This would reduce the weight of a download when you want to
use.

If you want, I can make the patch to migrate to the latest version and
correct the resizing problem.

Cheers,

--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: Visual editor in CMS

Jacques Le Roux
Administrator
Hi Erwan,

Upgrading would be welcome And it would be great if we could use something in whizzywig.js to allow IE difference. But I wonder why
it has not been done.

Jacques
()  ascii ribbon campaign against HTML e-mail
/\  www.asciiribbon.org


From: "Erwan de FERRIERES" <[hidden email]>

> Hi all,
>
> while looking at the visual editor, I found that we cannot resize the textarea height due to a test in the
> framework/images/webapp/images/htmledit/whizzywig.js and which says :
>  if (!o(idTa).rows < 5) o(idTa).rows='15';//IE won't use % from style
>
> If we remove the exclamation mark, there is no more problems and we can resize it as much as we want.
>
> I also saw that there was a new version of the editor, which corrects some errors and use now only one image instead of many of
> them to build the toolbar. This would reduce the weight of a download when you want to use.
>
> If you want, I can make the patch to migrate to the latest version and correct the resizing problem.
>
> Cheers,
>
> --
> Erwan de FERRIERES
> www.nereide.biz
>


Reply | Threaded
Open this post in threaded view
|

Re: Visual editor in CMS

Erwan de FERRIERES-3
Hi Jacques,

done : https://issues.apache.org/jira/browse/OFBIZ-3317

Le 08/12/2009 19:38, Jacques Le Roux a écrit :

> Hi Erwan,
>
> Upgrading would be welcome And it would be great if we could use
> something in whizzywig.js to allow IE difference. But I wonder why it
> has not been done.
>
> Jacques
> () ascii ribbon campaign against HTML e-mail
> /\ www.asciiribbon.org
>
>
> From: "Erwan de FERRIERES" <[hidden email]>
>> Hi all,
>>
>> while looking at the visual editor, I found that we cannot resize the
>> textarea height due to a test in the
>> framework/images/webapp/images/htmledit/whizzywig.js and which says :
>> if (!o(idTa).rows < 5) o(idTa).rows='15';//IE won't use % from style
>>
>> If we remove the exclamation mark, there is no more problems and we
>> can resize it as much as we want.
>>
>> I also saw that there was a new version of the editor, which corrects
>> some errors and use now only one image instead of many of them to
>> build the toolbar. This would reduce the weight of a download when you
>> want to use.
>>
>> If you want, I can make the patch to migrate to the latest version and
>> correct the resizing problem.
>>
>> Cheers,
>>
>> --
>> Erwan de FERRIERES
>> www.nereide.biz
>>
>
>
>

--
Erwan de FERRIERES
www.nereide.biz