Commit 92fa4d07 by clrux

Merge pull request #10917 from edx/clrux/ac-190

CMS: removing H1 and H2, adding H4, H5, and H6 to TinyMCE
parents e3184ea9 3baad896
...@@ -82,12 +82,13 @@ class @HTMLEditingDescriptor ...@@ -82,12 +82,13 @@ class @HTMLEditingDescriptor
image_advtab: true, image_advtab: true,
# 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 wrapAsCode | bullist numlist outdent indent blockquote | link unlink image | code", 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;%(heading1)s=h1;%(heading2)s=h2;%(heading3)s=h3", { block_formats: interpolate("%(paragraph)s=p;%(preformatted)s=pre;%(heading3)s=h3;%(heading4)s=h4;%(heading5)s=h5;%(heading6)s=h6", {
paragraph: gettext("Paragraph"), paragraph: gettext("Paragraph"),
preformatted: gettext("Preformatted"), preformatted: gettext("Preformatted"),
heading1: gettext("Heading 1"), heading3: gettext("Heading 3"),
heading2: gettext("Heading 2"), heading4: gettext("Heading 4"),
heading3: gettext("Heading 3") heading5: gettext("Heading 5"),
heading6: gettext("Heading 6")
}, true), }, true),
width: '100%', width: '100%',
height: '400px', height: '400px',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment