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
3baad896
Commit
3baad896
authored
Dec 09, 2015
by
Chris Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMS: removing H1, adding H4, H5, and H6 to TinyMCE
parent
175241d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
common/lib/xmodule/xmodule/js/src/html/edit.coffee
+5
-4
No files found.
common/lib/xmodule/xmodule/js/src/html/edit.coffee
View file @
3baad896
...
...
@@ -82,12 +82,13 @@ class @HTMLEditingDescriptor
image_advtab
:
true
,
# We may want to add "styleselect" when we collect all styles used throughout the LMS
toolbar
:
"formatselect | fontselect | bold italic underline forecolor wrapAsCode | bullist numlist outdent indent blockquote | link unlink image | code"
,
block_formats
:
interpolate
(
"%(paragraph)s=p;%(preformatted)s=pre;%(heading
1)s=h1;%(heading2)s=h2;%(heading3)s=h3
"
,
{
block_formats
:
interpolate
(
"%(paragraph)s=p;%(preformatted)s=pre;%(heading
3)s=h3;%(heading4)s=h4;%(heading5)s=h5;%(heading6)s=h6
"
,
{
paragraph
:
gettext
(
"Paragraph"
),
preformatted
:
gettext
(
"Preformatted"
),
heading1
:
gettext
(
"Heading 1"
),
heading2
:
gettext
(
"Heading 2"
),
heading3
:
gettext
(
"Heading 3"
)
heading3
:
gettext
(
"Heading 3"
),
heading4
:
gettext
(
"Heading 4"
),
heading5
:
gettext
(
"Heading 5"
),
heading6
:
gettext
(
"Heading 6"
)
},
true
),
width
:
'100%'
,
height
:
'400px'
,
...
...
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