Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: dart/site/try/src/interaction_manager.dart

Issue 274563011: Ignore non-content divs in htmlToText. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/site/try/src/html_to_text.dart ('k') | dart/site/try/src/shadow_root.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/site/try/src/interaction_manager.dart
diff --git a/dart/site/try/src/interaction_manager.dart b/dart/site/try/src/interaction_manager.dart
index 86ec3ab38831b9213693ce332a82237b0d8ed1d7..ca178000762ff48724419174704c34913bfede24 100644
--- a/dart/site/try/src/interaction_manager.dart
+++ b/dart/site/try/src/interaction_manager.dart
@@ -327,10 +327,7 @@ class InitialState extends InteractionState {
}
}
- // TODO(ahe): Use getText(mainEditorPane) instead.
- removeShadowRootPolyfill(mainEditorPane);
-
- String currentText = mainEditorPane.text;
+ String currentText = getText(mainEditorPane);
trySelection.updateText(currentText);
context.currentCompilationUnit.content = currentText;
« no previous file with comments | « dart/site/try/src/html_to_text.dart ('k') | dart/site/try/src/shadow_root.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698