Plugin Author
tuxlog
(@tuxlog)
Hello,
if I understood you wright, you made changes to the css file. Can you tell what you changed please, so I can test it myself.
Thanks in advance.
Hi, thanks for your response. The changes I made are:
div.wpml_commentbox {
font-size: 8px;
border: 0px solid;
padding: 1px;
text-align:center;
aoverflow:hidden; It seems that this function does not exist, it has one extra a
/* use these three to minimize space and scroll through the smilies */
overflow:scroll; enable this line
width: 200px; enable this line
height: 150px; enable this line
}
But in the Rich Editor the changes are not applied.
In fact in the inspector there is no reference to the CSS file
Only the editor’s default css is applied by creating a div
<div id=”mceu_71″ class=”mce-wpml_richedit_button mce-container mce-panel mce-floatpanel mce-popover mce-bottom” hidefocus=”1″ tabindex=”-1″ role=”application” aria-labelledby=” mceu_71″ aria-describedby=”mceu_71-none” style=”z-index: 100100; left: 238.6px; top: 723.875px; width: 0.4px;
I have updated to the latest version.
Thanks for your help
Plugin Author
tuxlog
(@tuxlog)
Thanks for the info, maybe you use an optimizer plugin which obfuscates the plugins css? Can you see if you have css classes starting with “wpml_”. The plugin itself loads the css on every page no conditionals here. And did you change the css within in the plugins css or did you add it via theme option like “add extra css”?
I still can not reproduce the problem, css is always loaded on my sites.
Hi there!
Try both ways… Modifying the wp-monalisa-default.css
And adding the css in the theme customization.
I am using only on my test site Localhost. The Advanced Editor Tools plugin. But also disabling it seems that the classes are not recognized.
The only class it recognizes is:
{ img.wpml_ico_rich {
display: inline-block;
}
img.wpml_ico_rich {
display: inline-block;
}
I look forward to your comments.
I am totally grateful for your help.
Plugin Author
tuxlog
(@tuxlog)
Good news, so the css is loaded if it recognizes the wpml_ico_rich class and this is indeed the only class it uses for the smilies to show in the rich editor. You see it in the file wpml_tinymce_plugin.js.
Looking for
smhtml += '<img class="wpml_ico_rich" id="wpmlre' + j + '" src="' + cs[2] + '" style="max-width:' + _wpml_richedit_maxwidth + 'px; max-height:' + _wpml_richedit_maxheight + 'px;" />';
It takes the max height and width parameters from the admin dialog of wp-monalisa for the dimensions. IF you want to add a div you do it in wpml_tinymce_plugin.js. I am not sure the width and height of the popup can be modified since this comes from tinymce editor. But why not give it a try.
Hope it helps.
Thank you very much for your answer.
I’ll try what you mention.
By the way.
I share the translation to Spanish-Spain
To integrate it into such a great complement.
https://1drv.ms/f/s!AhJQdbL7vQTbkb8t570L30mrCgsaag?e=1t5HYZ
Greetings
Plugin Author
tuxlog
(@tuxlog)
Thank you very much for the updated spanish translation. I will add it to the plugin with the next release.
Take care