[evolution/wip/webkit2] EHTMLEditorView - Remove the Draft style sheet when the draft is loaded



commit 7a3f250c7028778da49b3d2f9e59f4532e09137e
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Mar 24 09:00:46 2015 +0100

    EHTMLEditorView - Remove the Draft style sheet when the draft is loaded

 web-extensions/e-html-editor-view-dom-functions.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/e-html-editor-view-dom-functions.c 
b/web-extensions/e-html-editor-view-dom-functions.c
index 06cb15f..b717c73 100644
--- a/web-extensions/e-html-editor-view-dom-functions.c
+++ b/web-extensions/e-html-editor-view-dom-functions.c
@@ -5911,6 +5911,7 @@ dom_process_content_after_load (WebKitDOMDocument *document,
                /* Restore the selection how it was when the draft was saved */
                dom_move_caret_into_element (document, WEBKIT_DOM_ELEMENT (body), FALSE);
                dom_selection_restore (document);
+               dom_remove_embed_style_sheet (document);
        }
 
        dom_set_links_active (document, FALSE);


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