Skip to content
Snippets Groups Projects
Unverified Commit b613494a authored by Farhanah Sheets's avatar Farhanah Sheets Committed by GitHub
Browse files

Merge pull request #17907 from edx/fsheets/tinymce-align

Add alignment options to the TinyMCE platform plugin
parents c3bb21c7 752cf129
No related branches found
No related tags found
No related merge requests found
......@@ -167,6 +167,10 @@ def check_toolbar_buttons(step):
'forecolor',
# This is our custom "code style" button, which uses an image instead of a class.
'none',
'alignleft',
'aligncenter',
'alignright',
'alignjustify',
'bullist',
'numlist',
'outdent',
......
......@@ -83,6 +83,7 @@ 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 | " +
"alignleft aligncenter alignright alignjustify | " +
"bullist numlist outdent indent blockquote | link unlink " +
"#{if @new_image_modal then 'insertImage' else 'image'} | code",
block_formats: interpolate("%(paragraph)s=p;%(preformatted)s=pre;%(heading3)s=h3;%(heading4)s=h4;%(heading5)s=h5;%(heading6)s=h6", {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment