[evolution/wip/webkit2] Bug 751225 - Spell check selection changes font settings to initial settings



commit 21a3a85bc2255f5d275b20799f8b2c77c2f0401a
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Feb 26 10:13:29 2016 +0100

    Bug 751225 - Spell check selection changes font settings to initial settings

 .../e-html-editor-selection-dom-functions.c        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-selection-dom-functions.c 
b/web-extensions/composer/e-html-editor-selection-dom-functions.c
index d558f2d..f0f57df 100644
--- a/web-extensions/composer/e-html-editor-selection-dom-functions.c
+++ b/web-extensions/composer/e-html-editor-selection-dom-functions.c
@@ -6102,7 +6102,7 @@ dom_replace_caret_word (WebKitDOMDocument *document,
        g_object_unref (dom_selection);
        g_object_unref (dom_window);
 
-       dom_exec_command (document, extension, E_HTML_EDITOR_VIEW_COMMAND_INSERT_HTML, replacement);
+       dom_exec_command (document, extension, E_HTML_EDITOR_VIEW_COMMAND_PASTE_AND_MATCH_STYLE, replacement);
        dom_force_spell_check_for_current_paragraph (document, extension);
 }
 


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