Hello,
I need to apply to the ckeditor area a different style for each user.
Exemple :
a user with the Arial font by defaut, another with verdana // one with a:hover blue, another red // etc...
I can't create a personalised stylesheet (config.contentsCss) for each user.
Do you have an idea to make this possible ?
Sorry for my bad english ! And thanks you for helping me...
I need to apply to the ckeditor area a different style for each user.
Exemple :
a user with the Arial font by defaut, another with verdana // one with a:hover blue, another red // etc...
I can't create a personalised stylesheet (config.contentsCss) for each user.
Do you have an idea to make this possible ?
Sorry for my bad english ! And thanks you for helping me...
Re: different style for each user (ckeditor 3.4.1)
Something like :
Any idea to do that ?
Thanks in advance.
Re: different style for each user (ckeditor 3.4.1)
Use setStyles once the editor instance is ready.
It doesn't have to be in a plugin, just add the API calls after the code you use to bring up editor instances.
You need to learn the CKEditor API to do what you want to do.
Thanks,
Zanpakutō
Re: different style for each user (ckeditor 3.4.1)
I will study your solution
Re: different style for each user (ckeditor 3.4.1)
I have the setStyles like :
But how can I define the id of the editor area (instead of myElement) ?
Re: different style for each user (ckeditor 3.4.1) >> 3.5.
Anything new to solve this problem with the 3.5.2 realease ?
Thanks !