From abc6d49ce19d5db69d9de8401d354158fd03e8f2 Mon Sep 17 00:00:00 2001
From: Mark Hoeber <hoeber@edx.org>
Date: Wed, 23 Apr 2014 12:52:09 -0400
Subject: [PATCH] UI String  Updates for Raw HTML Editor Change

Modified the Raw HTML template text and the help string for the Editor
setting.
---
 common/lib/xmodule/xmodule/html_module.py          |  2 +-
 common/lib/xmodule/xmodule/templates/html/raw.yaml | 11 ++++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/common/lib/xmodule/xmodule/html_module.py b/common/lib/xmodule/xmodule/html_module.py
index 526ead81f9a..1a19e1f99e0 100644
--- a/common/lib/xmodule/xmodule/html_module.py
+++ b/common/lib/xmodule/xmodule/html_module.py
@@ -37,7 +37,7 @@ class HtmlFields(object):
         scope=Scope.settings
     )
     editor = String(
-        help="Supports switching between the Visual Editor and the Raw HTML Editor. The change does not take effect until Save is pressed.",
+        help="Select Visual to enter content and have the editor automatically create the HTML. Select Raw to edit HTML directly. If you change this setting, you must save the component, then re-open it for editing.",
         display_name="Editor",
         default="visual",
         values=[
diff --git a/common/lib/xmodule/xmodule/templates/html/raw.yaml b/common/lib/xmodule/xmodule/templates/html/raw.yaml
index 32851479008..4f44427b9b2 100644
--- a/common/lib/xmodule/xmodule/templates/html/raw.yaml
+++ b/common/lib/xmodule/xmodule/templates/html/raw.yaml
@@ -3,4 +3,13 @@ metadata:
     display_name: Raw HTML
     editor: raw
 data: |
-      <p>For use with complex HTML, to allow complete control over the final product.</p>
+      <p>This template is similar to the Text template. The only difference is 
+      that this template opens in a raw HTML editor rather than in the Visual 
+      editor. Raw HTML is most useful when you need to use script and span tags 
+      to format your content.</p>
+
+      <p>The raw HTML editor saves your HTML exactly as you enter it. 
+      You can switch to the Visual editor by clicking the Settings tab and 
+      changing the Editor setting to Visual. Note, however, that some of your 
+      HTML may be modified when you save the component if you switch to the 
+      Visual editor.</p>
-- 
GitLab