[evolution/wip/webkit2] EHTMLEditorView - Unnecessary new line inserted when composer when creating new message



commit a7cdd3d82a992704da968a228f87f285aa92d2f4
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Mar 24 12:41:56 2015 +0100

    EHTMLEditorView - Unnecessary new line inserted when composer when creating new message
    
    To be more specific it happens when the 'Start typing at the bottom on replying' is active.

 web-extensions/e-html-editor-view-dom-functions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/e-html-editor-view-dom-functions.c 
b/web-extensions/e-html-editor-view-dom-functions.c
index 9cee713..586cbc0 100644
--- a/web-extensions/e-html-editor-view-dom-functions.c
+++ b/web-extensions/e-html-editor-view-dom-functions.c
@@ -5979,6 +5979,7 @@ dom_process_content_after_load (WebKitDOMDocument *document,
                WebKitDOMElement *paragraph;
 
                paragraph = dom_prepare_paragraph (document, extension, TRUE);
+               webkit_dom_element_set_id (paragraph, "-x-evo-input-start");
                webkit_dom_node_append_child (
                        WEBKIT_DOM_NODE (body), WEBKIT_DOM_NODE (paragraph), NULL);
                dom_selection_restore (document);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]