Avoid an empty space being added to the editor; add watermark background (#3241)
This commit is contained in:
parent
07f05a102b
commit
666055db46
2 changed files with 4 additions and 1 deletions
|
@ -848,7 +848,7 @@ function rcube_kolab_notes_ui(settings)
|
||||||
var html = data.html || data.description;
|
var html = data.html || data.description;
|
||||||
|
|
||||||
// convert plain text to HTML and make URLs clickable
|
// convert plain text to HTML and make URLs clickable
|
||||||
if (!data.html || !html.match(/<(html|body)/)) {
|
if (html != '' && (!data.html || !html.match(/<(html|body)/))) {
|
||||||
html = text2html(html);
|
html = text2html(html);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -129,6 +129,9 @@
|
||||||
left: 252px;
|
left: 252px;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
|
background-image: url(../../../../skins/larry/images/watermark.jpg);
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notesdialog #notedetailsbox {
|
.notesdialog #notedetailsbox {
|
||||||
|
|
Loading…
Add table
Reference in a new issue