fixed tinymce stylings for all elements inside editing mode

This commit is contained in:
Giga Chubinidze 2023-02-07 16:00:14 +04:00
parent f3a4f316bb
commit 3483c7ba56

View file

@ -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() {