Add alignment options to the TinyMCE platform plugin

This commit is contained in:
Farhanah Sheets
2018-04-09 16:44:04 -04:00
parent c6064e1c5b
commit c29682a6a5

View File

@@ -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", {