[evolution/wip/webkit2] EHTMLEditorSelection - Correctly save selection next to images
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorSelection - Correctly save selection next to images
- Date: Wed, 22 Apr 2015 12:44:13 +0000 (UTC)
commit 5988481f90af60c0f68e8645722e3b6c056f6976
Author: Tomas Popela <tpopela redhat com>
Date: Mon Mar 23 13:03:55 2015 +0100
EHTMLEditorSelection - Correctly save selection next to images
.../e-html-editor-selection-dom-functions.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/e-html-editor-selection-dom-functions.c
b/web-extensions/e-html-editor-selection-dom-functions.c
index d5e64d5..987e640 100644
--- a/web-extensions/e-html-editor-selection-dom-functions.c
+++ b/web-extensions/e-html-editor-selection-dom-functions.c
@@ -1492,6 +1492,13 @@ dom_selection_save (WebKitDOMDocument *document)
webkit_dom_node_get_first_child (container),
NULL);
goto end_marker;
+ } else if (element_has_class (WEBKIT_DOM_ELEMENT (container), "-x-evo-resizable-wrapper")) {
+ marker_node = webkit_dom_node_insert_before (
+ parent_node,
+ WEBKIT_DOM_NODE (marker),
+ webkit_dom_node_get_next_sibling (container),
+ NULL);
+ goto end_marker;
} else {
/* Insert the selection marker on the right position in
* an empty paragraph in the quoted content */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]