[evolution/wip/webkit2] EHTMLEditorSelection - Indented block style could not be set properly



commit 8ded44156c67bc25ed73729a88668155a6a5a0eb
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Jun 29 16:56:36 2016 +0200

    EHTMLEditorSelection - Indented block style could not be set properly

 .../web-extension/e-editor-dom-functions.c         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/webkit-editor/web-extension/e-editor-dom-functions.c 
b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index 95d9701..71810dc 100644
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -12148,7 +12148,7 @@ e_editor_dom_selection_indent (EEditorPage *editor_page)
                                }
                        }
 
-                       if (webkit_dom_element_has_attribute (WEBKIT_DOM_ELEMENT (block), 
"data-evo-paragraph")) {
+                       if (webkit_dom_element_has_attribute (WEBKIT_DOM_ELEMENT (block_to_process), 
"data-evo-paragraph")) {
                                level = get_indentation_level (
                                        WEBKIT_DOM_ELEMENT (block_to_process));
 


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