my question is. That i use a class "light-mode" and wan't to change the tinymce to light mode when i use the class.
I tryed this:
skin: (document.body.classList.contains('light-mode') ? "oxide-light" : "oxide-dark"), content_css: (document.body.classList.contains('light-mode') ? "light" : "dark"),
But might not work, it breaks tinymce. Is there any solution for this?
skin: (document.body.classList.contains('light-mode') ? "oxide-light" : "oxide-dark"), content_css: (document.body.classList.contains('light-mode') ? "light" : "dark"),