mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-11 15:13:25 +08:00
Merge pull request #4944 from G-Chubinidze/gc_SCI_7883
fixed tinymce stylings for all elements inside editing mode [SCI-7883]
This commit is contained in:
commit
ca183f1f76
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');
|
||||
|
||||
// Optional pre-initialization method
|
||||
if (typeof(window.preTinyMceInit) === 'function') {
|
||||
|
|
Loading…
Reference in a new issue