[RCD] HTML Editor

Michael Heydekamp listuser at freexp.de
Fri Jul 24 00:26:08 CEST 2015

Is the HTML editor of Roundcube a topic here at all? I haven't seen many
posts about it here (only 2 of 11,418 that I have in the dev list folder),
so I'm raising this question before I'm going to complain about lots of
issues that I'm having with it.

As I'm using Roundcube more and more for running my own new business,
unfortunately I'm more or less forced to use this editor (although I hate
HTML messages) - business partners are sending (and expecting) logos, tables
and that kind a stuff.

But I need to mention two issues that are really bothering me most:

I have created a sophisticated and fancy HTML signature, which starts this

> <div class="pre"><span class="sig" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br /><br />-- <br /><strong>Michael Heydekamp</strong><br /> [...]

After initiating a new message and typing the word "Test" in the body, the
HTML source code starts this way:

> <p> </p>
> <div id="_rc_sig">
> <div class="pre"><span class="sig" style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Test<br /><br />-- <br /><strong>Michael Heydekamp</strong><br /> [...]

The two issues are:

1) If I decide to change the identity during (or after) composing, the whole
   text is gone! Apparently this is because the text (in this example just
   "Test", but in can be lots of pages) is inserted after the
   "<div id="_rc_sig">. If I manually move this line in the source behind
   the text (but before the signature), then I can change the identity
   during omposing without any problem. But this can't be the way it should
   work, as you can't expect the average Roundcube user to edit the HTML

2) The "<p> </p>" is disturbing as it causes an unnecessary blank
   line/paragraph at the top of the message which can not be easily removed.
   At least I didn't find a good and always working way yet.

Any chance to improve/fix this...?

As I said, there are lots of other issues, which I won't and even can't
describe for the moment (e.g. that pressing Enter does sometimes create a
new line (<br />, but sometimes a new paragraph (<p>). You're never sure
what will happen.

Response would be appreciated.

Michael Heydekamp
Co-Admin freexp.de

More information about the dev mailing list