mirror of
https://github.com/moodle/moodle.git
synced 2025-02-24 20:13:14 +01:00
MDL-82255 editor_tiny: Add blockquote in toolbar menu and styled
This commit is contained in:
parent
056f473a6e
commit
51d0a1869c
2
lib/editor/tiny/amd/build/editor.min.js
vendored
2
lib/editor/tiny/amd/build/editor.min.js
vendored
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;
|
||||
}
|
||||
/** */
|
||||
|
Loading…
x
Reference in New Issue
Block a user