Jump to content

[resolved] how to integrate a personal CSS file in TinyMCE ?


cvbdev

Recommended Posts

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 by cvbdev (see edit history)
Link to comment
Share on other sites

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...