Ive got a task - to let the user load (add) his own css-stylesheet)
This can be realized in the following ways:
1. With the help of dialogue window I load users file with css-stylesheet into my project
2. With the help of server script I build in styles from this file into fck_editorarea.css file
3. With the help of server script I create new elements in fckstyles.xml file. They correspond to the styles, described above.
If the page with FCKeditor is refreshed, new styles appear in the "Style" combo box.
There is a question - which functions should I call to make these styles appear in the Style combo box WITHOUT refreshing FCKeditor, but after an event (for example after closing the dialogue window)?
Thank you in advance for any ideas.
This can be realized in the following ways:
1. With the help of dialogue window I load users file with css-stylesheet into my project
2. With the help of server script I build in styles from this file into fck_editorarea.css file
3. With the help of server script I create new elements in fckstyles.xml file. They correspond to the styles, described above.
If the page with FCKeditor is refreshed, new styles appear in the "Style" combo box.
There is a question - which functions should I call to make these styles appear in the Style combo box WITHOUT refreshing FCKeditor, but after an event (for example after closing the dialogue window)?
Thank you in advance for any ideas.