[evolution] EHTMLEditorSelection - Correctly save selection next to images
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EHTMLEditorSelection - Correctly save selection next to images
- Date: Wed, 3 Dec 2014 12:59:22 +0000 (UTC)
commit b8b118bc5511ce3ea5bd8c3101dd356185f7a66a
Author: Tomas Popela <tpopela redhat com>
Date: Wed Dec 3 13:07:59 2014 +0100
EHTMLEditorSelection - Correctly save selection next to images
e-util/e-html-editor-selection.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-selection.c b/e-util/e-html-editor-selection.c
index b217a62..133af2a 100644
--- a/e-util/e-html-editor-selection.c
+++ b/e-util/e-html-editor-selection.c
@@ -5982,6 +5982,13 @@ e_html_editor_selection_save (EHTMLEditorSelection *selection)
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]