Ticket #1484222 (closed Bugs: wontfix)

Opened 2 years ago

Last modified 23 months ago

Tiny_MCE missing CSS directory

Reported by: SteveE Owned by:
Priority: 5 Milestone:
Component: Client Scripts Version: svn-trunk
Severity: trivial Keywords: css tiny_mce
Cc:

Description

SVN release 452 is missing the program/js/tiny_mce/themes/advanced/css directory (or maybe it's just a file?) When "Compose HTML messages" is enabled and the compose page is loaded it generates an error in the apache error_log

[Wed Jan 10 10:17:03 2007] [error] [client 169.128.128.128] File does not exist: /srv/www/htdocs/roundcubemail/program/js/tiny_mce/themes/advanced/css, referer: http://myhost.com/roundcubemail/?_task=mail&_action=compose

Other then there not being any CSS on the page, it still functions (HTML and all) correctly

Change History

Changed 23 months ago by estadtherr

  • status changed from new to closed
  • resolution set to wontfix

The error should be harmless. TinyMCE is trying to load CSS from two different places, as follows:

  tinyMCE.importCSS(inst.getDoc(),
                    tinyMCE.baseURL +
                       "/themes/" +
                       inst.settings.theme +
                       "/css/editor_content.css");
  tinyMCE.importCSS(inst.getDoc(), inst.settings.content_css);

The first import generates the warning, but the second import should grab the CSS file from the RoundCube skin directory, as that's where rcmail_editor_init configures TinyMCE to find the content_css file.

I would suggest opening a ticket against TinyMCE to avoid the warning if the content_css property is overridden in TinyMCE.init() (they have a SourceForge? project that accepts bug reports).

Note: See TracTickets for help on using tickets.