[horde] Debian HTML Editor Broken, Fixed
Andy Dorman
adorman at ironicdesign.com
Fri Nov 7 14:01:46 UTC 2014
On 11/05/2014 09:48 PM, Andy Dorman wrote:
> On 11/05/2014 04:07 PM, Jan Schneider wrote:
>> You are barking up the wrong tree. CKEditor 4.4 is not compatible with
>> IMP period.
>>
>
> Jan, thank you.
>
> I have been so focused on something missing from the Debian packages
> that it did not occur to me that one of the issues might be a version
> conflict.
>
> Debian stable (wheezy) uses ckeditor 3.6.1. I will start with that
> first thing tomorrow morning.
>
I finally figured out how to get it working with Debian
packages...although I am not sure I did it correctly.
I regressed the debian ckeditor package to 3.6.1 which is in stable. (I
could also download ckeditor from source, but I am trying to keep this
as close to a "stock Debian" setup as possible.)
Then I reinstalled the Debian php-horde-editor and php-horde-imp
packages and made sure all the sym links I had added over the past weeks
were gone.
Then I tested to see what was not being loaded successfully. Nothing
was being loaded by /imp/core, so I added this sym link to point
imp/core to Horde's ckeditor directory:
horde/imp/core -> horde/js/ckeditor
After that, everything was loaded successfully except
/imp/core/ckeditor_base.js. However, somewhere in the past few days of
looking at ckeditor source code I noticed that
javascript/ckeditor_source.js had this comment: "Compressed version of
core/ckeditor_base.js."
So I added a sym link in horde/js/ckeditor/:
ckeditor_base.js -> javascript/ckeditor/ckeditor_source.js
And all the files now load successfully and the HTML editor comes up in
the Imp email compose window.
So I will see if the Debian package maintainer can modify the install
for php-horde-editor to add the sym links for
horde/js/ckeditor/ckeditor_base.js and horde/imp/core. Or perhaps he
knows a better way to handle this.
Thanks for everyone's help.
--
Andy Dorman
More information about the horde
mailing list