Tiny MCE and typography.css
Permalink
If the typography.css file is in the root, the styles show up in the Tiny MCE editor (or at least most of them do).
File path:
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>">
But if I move the typography.css file into my css folder, the styles do not show up in the Tiny MCE editor.
File path:
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('css/typography.css')?>">
What am I missing. It seems that it should not make any difference where the css file is located as long as the file path is correct.
File path:
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>">
But if I move the typography.css file into my css folder, the styles do not show up in the Tiny MCE editor.
File path:
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('css/typography.css')?>">
What am I missing. It seems that it should not make any difference where the css file is located as long as the file path is correct.
Well, go figure. I just deleted the typography.css file and the associated file path link and now the styles are showing up in the advanced MCE editor. They're not showing up as accurately as before, but it's OK.
Still doesn't seem logical to me that it works with a typography.css file in the root, works without any typography.css file, but cannot handle the typography.css if it is in the css folder even with a correct file path. But then I'm not a php coder. :-)
Still doesn't seem logical to me that it works with a typography.css file in the root, works without any typography.css file, but cannot handle the typography.css if it is in the css folder even with a correct file path. But then I'm not a php coder. :-)
Spoke too soon. You don't have to link to the typography.css file but you do have to have it in the root. Sigh.
http://www.codeblog.ch/2009/05/concrete5-css-features/...