[evolution/wip/webkit2] EHTMLEditorView - Undoing the 'Wrap Lines' action doesn't work
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorView - Undoing the 'Wrap Lines' action doesn't work
- Date: Fri, 26 Feb 2016 12:41:53 +0000 (UTC)
commit f88468f82984ac84641d81e62a0ed9f28fc211c5
Author: Tomas Popela <tpopela redhat com>
Date: Fri Feb 26 12:23:16 2016 +0100
EHTMLEditorView - Undoing the 'Wrap Lines' action doesn't work
.../composer/e-html-editor-undo-redo-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/composer/e-html-editor-undo-redo-manager.c
b/web-extensions/composer/e-html-editor-undo-redo-manager.c
index 3f5f8f2..74191ad 100644
--- a/web-extensions/composer/e-html-editor-undo-redo-manager.c
+++ b/web-extensions/composer/e-html-editor-undo-redo-manager.c
@@ -809,6 +809,7 @@ undo_redo_wrap (WebKitDOMDocument *document,
node = webkit_dom_range_get_common_ancestor_container (range, NULL);
g_object_unref (range);
element = get_parent_block_element (WEBKIT_DOM_NODE (node));
+ webkit_dom_element_remove_attribute (element, "data-user-wrapped");
dom_remove_wrapping_from_element (WEBKIT_DOM_ELEMENT (element));
dom_force_spell_check_for_current_paragraph (document, extension);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]