Merge branch 'MDL-82255-main' of https://github.com/raortegar/moodle
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -279,7 +279,7 @@ const getStandardConfig = (target, tinyMCE, options, plugins) => {
|
||||
// Override the standard block formats property (removing h1 & h2).
|
||||
// https://www.tiny.cloud/docs/tinymce/6/user-formatting-options/#block_formats
|
||||
// eslint-disable-next-line camelcase
|
||||
block_formats: 'Paragraph=p;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre',
|
||||
block_formats: 'Paragraph=p;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre;Blockquote=blockquote',
|
||||
|
||||
// The list of plugins to include in the instance.
|
||||
// https://www.tiny.cloud/docs/tinymce/6/editor-important-options/#plugins
|
||||
|
||||
@@ -10,4 +10,18 @@ body.mce-content-body a[data-mce-selected="inline-boundary"] {
|
||||
body.mce-content-body a {
|
||||
color: #0f6cbf;
|
||||
}
|
||||
/** */
|
||||
|
||||
/** blockquote */
|
||||
.mce-content-body:not([dir=rtl]) blockquote {
|
||||
margin: 0 0.5rem 1rem;
|
||||
padding-left: 1rem;
|
||||
color: #495057;
|
||||
border-left: 5px solid #8f959e;
|
||||
}
|
||||
.mce-content-body[dir=rtl] blockquote {
|
||||
margin: 0 0.5rem 1rem;
|
||||
padding-right: 1rem;
|
||||
color: #495057;
|
||||
border-right: 5px solid #8f959e;
|
||||
}
|
||||
/** */
|
||||
|
||||
Reference in New Issue
Block a user