cvbdev Posted October 23, 2013 Share Posted October 23, 2013 (edited) Hi All, I would like to integrate a personal CSS file ("myfileperso.css") in TinyMCE. Because Global.css the loads by default (tinymce.js), it does not work How do I get my file "myfileperso.css" to be loaded and display ? A method native ? is there a method ? Thank you very much ! ++ ps: escuse my English Edited October 23, 2013 by cvbdev (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 23, 2013 Share Posted October 23, 2013 hello for what purposes you want to use different file? maybe it's a bit easiest way to achieve what you expect , you will need to change definition of cms object in admin tempate file. Link to comment Share on other sites More sharing options...
cvbdev Posted October 23, 2013 Author Share Posted October 23, 2013 hello for what purposes you want to use different file? maybe it's a bit easiest way to achieve what you expect , you will need to change definition of cms object in admin tempate file. I want to change a new file to apply a specific layout. These are specific tag for display on the front. 1 - Can I overload the object cms? 2 - Is it possible in javascript to add one line in the iframe generated by tinyMCE? Thaks'you very much! ++ Link to comment Share on other sites More sharing options...
vekia Posted October 23, 2013 Share Posted October 23, 2013 take a look here: http://mypresta.eu/en/art/developer/tinyMCE-backgrund-and-font-color-change.html or here: http://mypresta.eu/en/art/know-how/tinymce-editor-full-options-all-html-tags.html in secod tutorial you will see tinymce object definition, you can define there css file what you mean by: 2 - Is it possible in javascript to add one line in the iframe generated by tinyMCE? you want to add javascript ? Link to comment Share on other sites More sharing options...
cvbdev Posted October 23, 2013 Author Share Posted October 23, 2013 take a look here: http://mypresta.eu/en/art/developer/tinyMCE-backgrund-and-font-color-change.html or here: http://mypresta.eu/en/art/know-how/tinymce-editor-full-options-all-html-tags.html in secod tutorial you will see tinymce object definition, you can define there css file what you mean by: you want to add javascript ? I wanted to use javascript to change the iframe generated by TinyMCE adding <link real...> After two days of searching, I try to find solutions. I look at the links, thank you! ++ Link to comment Share on other sites More sharing options...
cvbdev Posted October 23, 2013 Author Share Posted October 23, 2013 Thank's you very much! It works! After two days of searching ... Good afternoon! + + Link to comment Share on other sites More sharing options...
vekia Posted October 23, 2013 Share Posted October 23, 2013 you're welcome glad to hear that i could help you a little thank you for confirmation that everything works as you expected with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now