Hi RC Devs,
I'm planning to move the file *roundcube/program/js/*editor.js to the skin folder (*roundcube/skins/default/*editor.js) because this file contains several options that can be used as skin basis, like the location and order of buttons, the theme and skin of TinyMCE editor and so on.
I'm currently developing a skin and missed some control over TinyMCE.
Does anyone have any objection?
-- Victor Benincasa
List info: http://lists.roundcube.net/dev/ BT/aba52c80
W dniu 2011-05-02 06:37, Victor Benincasa pisze:
I'm planning to move the file *roundcube/program/js/*editor.js to the skin folder (*roundcube/skins/default/*editor.js) because this file contains several options that can be used as skin basis, like the location and order of buttons, the theme and skin of TinyMCE editor and so on.
I'm currently developing a skin and missed some control over TinyMCE.
Does anyone have any objection?
It contains some logic that is skin independent. Better would be to introduce some global object and use it in rcmail_editor_init(). So, would be possible to set the object settings from skin's functions.js.
W dniu 2011-05-02 08:08, A.L.E.C pisze:
It contains some logic that is skin independent. Better would be to introduce some global object and use it in rcmail_editor_init(). So, would be possible to set the object settings from skin's functions.js.
Done in r4716. This is still not complete solution, because you have no access to rcmail_editor_init() arguments.
Nice solution Alec, thank you!!
I added a small example in editor.js to help the skin developers know this possibility.
-- Victor Benincasa
On Mon, May 2, 2011 at 4:55 AM, A.L.E.C alec@alec.pl wrote:
W dniu 2011-05-02 08:08, A.L.E.C pisze:
It contains some logic that is skin independent. Better would be to introduce some global object and use it in rcmail_editor_init(). So, would be possible to set the object settings from skin's functions.js.
Done in r4716. This is still not complete solution, because you have no access to rcmail_editor_init() arguments.
-- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Developer http://roundcube.net _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/a2aebea3
List info: http://lists.roundcube.net/dev/ BT/aba52c80