mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
fixed tinymce stylings for all elements inside editing mode
This commit is contained in:
parent
f3a4f316bb
commit
3483c7ba56
1 changed files with 3 additions and 2 deletions
5
app/javascript/packs/tiny_mce.js
vendored
5
app/javascript/packs/tiny_mce.js
vendored
|
@ -37,8 +37,9 @@ import 'raw-loader';
|
|||
import contentCss from '!!raw-loader!tinymce/skins/content/default/content.min.css';
|
||||
import contentUiCss from '!!raw-loader!tinymce/skins/ui/tinymce-5/content.min.css';
|
||||
|
||||
const contentPStyle = `p { margin: 0; padding: 0; font-family: 'Lato' }`;
|
||||
const contentStyle = [contentCss, contentUiCss, contentPStyle].map((s) => s.toString()).join('\n');
|
||||
const contentPStyle = `p { margin: 0; padding: 0;}`;
|
||||
const contentBodyStyle = `body { font-family: Lato, "Open Sans", Arial, Helvetica, sans-serif }`;
|
||||
const contentStyle = [contentCss, contentUiCss, contentBodyStyle, contentPStyle].map((s) => s.toString()).join('\n');
|
||||
|
||||
window.TinyMCE = (() => {
|
||||
function initHighlightjs() {
|
||||
|
|
Loading…
Reference in a new issue