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
2ae2ec94
Commit
2ae2ec94
authored
Feb 20, 2014
by
cahrens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include all the controls on the toolbar that we previously had.
parent
dda58661
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
common/lib/xmodule/xmodule/js/src/html/edit.coffee
+7
-9
No files found.
common/lib/xmodule/xmodule/js/src/html/edit.coffee
View file @
2ae2ec94
...
@@ -28,11 +28,9 @@ class @HTMLEditingDescriptor
...
@@ -28,11 +28,9 @@ class @HTMLEditingDescriptor
convert_urls
:
false
,
convert_urls
:
false
,
# TODO: we should share this CSS with studio (and LMS)
# TODO: we should share this CSS with studio (and LMS)
content_css
:
"
#{
baseUrl
}
/css/tiny-mce.css"
,
content_css
:
"
#{
baseUrl
}
/css/tiny-mce.css"
,
# The default popup_css path uses an absolute path referencing page in which tinyMCE is being hosted.
# Supply the correct relative path instead.
popup_css
:
"
#{
baseUrl
}
/js/vendor/tiny_mce/themes/advanced/skins/default/dialog.css"
,
formats
:
{
formats
:
{
# Disable h4, h5, and h6 styles as we don't have CSS for them.
# Disable h4, h5, and h6 styles as we don't have CSS for them.
# TODO: this doesn't seem to be working with the upgrade.
h4
:
{},
h4
:
{},
h5
:
{},
h5
:
{},
h6
:
{},
h6
:
{},
...
@@ -41,13 +39,13 @@ class @HTMLEditingDescriptor
...
@@ -41,13 +39,13 @@ class @HTMLEditingDescriptor
},
},
# Disable visual aid on borderless table.
# Disable visual aid on borderless table.
visual
:
false
,
visual
:
false
,
plugins
:
"textcolor, link, image"
,
# We may want to add "styleselect" when we collect all styles used throughout the LMS
# We may want to add "styleselect" when we collect all styles used throughout the LMS
toolbar
:
"formatselect,fontselect,bold,italic,underline,forecolor,|,bullist,numlist,outdent,indent,|,link,unlink,image,|,blockquote,wrapAsCode,"
,
# Can have a single toolbar by just specifying "toolbar". Splitting for now so all are visible.
theme_advanced_toolbar_location
:
"top"
,
toolbar1
:
"formatselect fontselect bold italic underline forecolor"
,
theme_advanced_toolbar_align
:
"left"
,
toolbar2
:
"bullist numlist outdent indent | blockquote wrapAsCode | link unlink | image"
,
theme_advanced_statusbar_location
:
"none"
,
# TODO: i18n
theme_advanced_resizing
:
true
,
block_formats
:
"Paragraph=p;Preformatted=pre;Heading 1=h1;Heading 2=h2;Heading 3=h3"
,
theme_advanced_blockformats
:
"p,pre,h1,h2,h3"
,
width
:
'100%'
,
width
:
'100%'
,
height
:
'400px'
,
height
:
'400px'
,
menubar
:
false
,
menubar
:
false
,
...
...
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