Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
1714d23a
Commit
1714d23a
authored
Jan 25, 2015
by
Omar Al-Ithawi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TinyMCE RTL in course bulk email
parent
3d4a853e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
common/lib/xmodule/xmodule/js/src/html/edit.coffee
+4
-2
No files found.
common/lib/xmodule/xmodule/js/src/html/edit.coffee
View file @
1714d23a
...
@@ -66,6 +66,8 @@ class @HTMLEditingDescriptor
...
@@ -66,6 +66,8 @@ class @HTMLEditingDescriptor
schema
:
"html5"
,
schema
:
"html5"
,
# Necessary to preserve relative URLs to our images.
# Necessary to preserve relative URLs to our images.
convert_urls
:
false
,
convert_urls
:
false
,
# Sniff UI direction from `.wrapper-view` in studio or `.window-wrap` in LMS
directionality
:
$
(
".wrapper-view, .window-wrap"
).
prop
(
'dir'
),
content_css
:
tiny_mce_css_links
.
join
(
", "
),
content_css
:
tiny_mce_css_links
.
join
(
", "
),
formats
:
{
formats
:
{
# tinyMCE does block level for code by default
# tinyMCE does block level for code by default
...
@@ -91,7 +93,7 @@ class @HTMLEditingDescriptor
...
@@ -91,7 +93,7 @@ class @HTMLEditingDescriptor
height
:
'400px'
,
height
:
'400px'
,
menubar
:
false
,
menubar
:
false
,
statusbar
:
false
,
statusbar
:
false
,
# Necessary to avoid stripping of style tags.
# Necessary to avoid stripping of style tags.
valid_children
:
"+body[style]"
,
valid_children
:
"+body[style]"
,
...
@@ -99,7 +101,7 @@ class @HTMLEditingDescriptor
...
@@ -99,7 +101,7 @@ class @HTMLEditingDescriptor
valid_elements
:
"*[*]"
,
valid_elements
:
"*[*]"
,
extended_valid_elements
:
"*[*]"
,
extended_valid_elements
:
"*[*]"
,
invalid_elements
:
""
,
invalid_elements
:
""
,
setup
:
@
setupTinyMCE
,
setup
:
@
setupTinyMCE
,
# Cannot get access to tinyMCE Editor instance (for focusing) until after it is rendered.
# Cannot get access to tinyMCE Editor instance (for focusing) until after it is rendered.
# The tinyMCE callback passes in the editor as a parameter.
# The tinyMCE callback passes in the editor as a parameter.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment