[evolution/wip/webkit2] EHTMLEditorView - Always try to process the CID images when loading a content



commit 2613a2490064ca125eb025a5679c73a3194a7191
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Jun 29 17:02:57 2016 +0200

    EHTMLEditorView - Always try to process the CID images when loading a content
    
    Don't look at the current composer mode as in the plain text mode the emoticon's
    image part could be presented (but hidden).

 .../web-extension/e-editor-dom-functions.c         |    3 +--
 1 files changed, 1 insertions(+), 2 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 5153023..992384b 100644
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -8535,8 +8535,7 @@ e_editor_dom_process_content_after_load (EEditorPage *editor_page)
        e_editor_dom_register_input_event_listener_on_body (editor_page);
        register_html_events_handlers (editor_page, body);
 
-       if (e_editor_page_get_html_mode (editor_page))
-               change_cid_images_src_to_base64 (editor_page);
+       change_cid_images_src_to_base64 (editor_page);
 
        if (e_editor_page_get_inline_spelling_enabled (editor_page))
                e_editor_dom_force_spell_check (editor_page);


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