• Resolved kevinbkt10

    (@kevinbkt10)


    (I’m using the translator, so something may not be understandable.)

    I’ve created a page for visitors to submit articles, but the rich text editor is buggy and does not load javascript.

    The problem is that it is composed of several javascript and I do not know which ones to disable in optimizepress to solve the problem.

    Disabling jquery, tinymce, MediaElement.js and tadv.js can get the toolbox to appear, but the buttons that change to CODE are still buggy.

    ——–

    I was able to temporarily solve my problem by activating “also aggregate inline JS” ..

    However, the site’s text fonts before the page load are strange… Not to mention that the generated cache gets very large… This is bad?

    I wanted to be able to: Disable Autoptimize on only one page. Or find out which javascript I need to exclude so as not to conflict and bug the rich text editor.

    Problem page link: https://skdesu.com/enviar-artigo/

    • This topic was modified 7 years, 9 months ago by kevinbkt10.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Large cache is bad, yes ??

    You can disable AO for that page with this code;

    add_filter('autoptimize_filter_noptimize','enviar_noptimize',10,0);
    function enviar_noptimize() {
    	if (strpos($_SERVER['REQUEST_URI'],'enviar-artigo')!==false) {
    		return true;
    	} else {
    		return false;
    	}
    }
    

    hope this helps,
    frank

    Thread Starter kevinbkt10

    (@kevinbkt10)

    Thank you very much! Helped me alot! XD

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Big problem with frontend text editor’ is closed to new replies.